diff options
Diffstat (limited to 'rf_test/radio.c')
| -rw-r--r-- | rf_test/radio.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c index 8c4f6b1..cebad0f 100644 --- a/rf_test/radio.c +++ b/rf_test/radio.c @@ -172,11 +172,7 @@ uint8_t radio_recv(char *buf, uint8_t n) void radio_listen(void) { - write_reg(0x01, (read_reg(0x01) & 0xE3) | 0x10); - while (!(read_reg(0x27) & 0x80)) - ; - - // todo: go to low power mode + set_mode(RF69_OPMODE_RX); } void radio_init(const struct radio_cfg *cfg) |
