From a9243643111bfb7a0e20a3fc489e7b02059b6766 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 29 Jun 2012 10:26:25 -0300 Subject: [PATCH] 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. --- fw/rf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fw/rf.c b/fw/rf.c index d1b3cff..75eb331 100644 --- a/fw/rf.c +++ b/fw/rf.c @@ -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);