summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rf_test/radio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c
index 91374fc..74cec8e 100644
--- a/rf_test/radio.c
+++ b/rf_test/radio.c
@@ -87,7 +87,6 @@ uint8_t radio_recv(char *buf, uint8_t n)
SPDR = 0x00 | 0x7F;
while (!(SPSR & (1 << SPIF)))
;
-
while (read_len < n) {
SPDR = 0;
while (!(SPSR & (1 << SPIF)))