1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-22 19:01:10 +02:00

atusb: fw: make sure we return correctly for both atusb as well as rzusb

This was changed by the rzusb support patch. We should use the new generic
define here which maps it correctly on both devices.
This commit is contained in:
Stefan Schmidt 2016-03-18 22:25:24 +01:00
parent 5129029d3b
commit 9d043dcfd4

View File

@ -36,7 +36,7 @@ uint8_t spi_io(uint8_t v)
// while (!(UCSR1A & 1 << UDRE1));
SPI_DATA = v;
SPI_WAIT_DONE();
return SPDR;
return SPI_DATA;
}