1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-22 06:33:08 +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:
Werner Almesberger 2012-06-29 10:26:25 -03:00
parent 01a9eebc99
commit a924364311

View File

@ -91,7 +91,7 @@ void rf_send(const void *buf, uint8_t size)
_delay_us(1); /* tTR9 = 1 us */
/* be nice to senders with long turn-around time, e.g., atusb */
_delay_ms(2);
_delay_ms(9);
spi_begin();
spi_send(AT86RF230_BUF_WRITE);