summaryrefslogtreecommitdiffstats
path: root/rf_test
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-12-07 10:09:37 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-12-07 10:09:37 +0800
commit56aaa851f9e1319ac5861db44dc6a33b65850cf1 (patch)
treeba7291a72d7fc77b371797ef318a85e6ad6d9273 /rf_test
parentb0116f7f11a45a8c25403c6fda53a8ef80d7a6c6 (diff)
downloadsmart-home-56aaa851f9e1319ac5861db44dc6a33b65850cf1.tar.gz
wip: code formatting.
Diffstat (limited to 'rf_test')
-rw-r--r--rf_test/radio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c
index b09bf7b..91374fc 100644
--- a/rf_test/radio.c
+++ b/rf_test/radio.c
@@ -84,7 +84,6 @@ uint8_t radio_recv(char *buf, uint8_t n)
;
SPI_PORT &= ~(1 << SPI_SS);
-
SPDR = 0x00 | 0x7F;
while (!(SPSR & (1 << SPIF)))
;
@@ -95,7 +94,6 @@ uint8_t radio_recv(char *buf, uint8_t n)
;
buf[read_len++] = SPDR;
}
-
SPI_PORT |= (1 << SPI_SS);
}
return read_len;