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:
parent
5129029d3b
commit
9d043dcfd4
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user