summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rf_test/radio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c
index da21a63..d6bdb4e 100644
--- a/rf_test/radio.c
+++ b/rf_test/radio.c
@@ -139,6 +139,7 @@ void radio_init(struct radio_cfg *cfg)
SPI_PORT |= (1 << SPI_SS);
SPCR |= (1 << SPE) | (1 << MSTR);
+ // todo: do we need this?
do {
write_reg(0x2F, 0xAA);
} while (read_reg(0x2F) != 0xAA);