summaryrefslogtreecommitdiffstats
path: root/rf_test/radio.c
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-12-07 10:10:19 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-12-07 10:10:19 +0800
commitf9471c0db81695a480f68c27e14443bacf9a6257 (patch)
treed396bbc9889124f8954be8082de2f3a1818d6c4c /rf_test/radio.c
parent56aaa851f9e1319ac5861db44dc6a33b65850cf1 (diff)
downloadsmart-home-f9471c0db81695a480f68c27e14443bacf9a6257.tar.gz
wip: code formatting.
Diffstat (limited to 'rf_test/radio.c')
-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)))