mirror of
git://projects.qi-hardware.com/antorcha.git
synced 2024-11-22 12:06:16 +02:00
fw/rf.c (rf_send): increase delay from 2 ms to 9 ms, for slow atben
Not sure why the Ben exhibited such a long turn-around time. It should actually be faster than a PC with atusb. Maybe it's because of latency introduced by other sources.
This commit is contained in:
parent
01a9eebc99
commit
a924364311
2
fw/rf.c
2
fw/rf.c
@ -91,7 +91,7 @@ void rf_send(const void *buf, uint8_t size)
|
|||||||
_delay_us(1); /* tTR9 = 1 us */
|
_delay_us(1); /* tTR9 = 1 us */
|
||||||
|
|
||||||
/* be nice to senders with long turn-around time, e.g., atusb */
|
/* be nice to senders with long turn-around time, e.g., atusb */
|
||||||
_delay_ms(2);
|
_delay_ms(9);
|
||||||
|
|
||||||
spi_begin();
|
spi_begin();
|
||||||
spi_send(AT86RF230_BUF_WRITE);
|
spi_send(AT86RF230_BUF_WRITE);
|
||||||
|
Loading…
Reference in New Issue
Block a user