summaryrefslogtreecommitdiffstats
path: root/rf_test/radio.c
diff options
context:
space:
mode:
Diffstat (limited to 'rf_test/radio.c')
-rw-r--r--rf_test/radio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c
index fe3ce08..b525310 100644
--- a/rf_test/radio.c
+++ b/rf_test/radio.c
@@ -63,8 +63,6 @@ void radio_send(const char *data, uint8_t n)
while (!(read_reg(0x28) & 0x08))
;
- serial_write_line("sending data");
-
write_reg(0x01, 0x04);
while ((read_reg(0x27) & 80))
;
@@ -126,7 +124,7 @@ void radio_init(const struct radio_cfg *cfg)
write_reg(0x39, cfg->nodeid);
// fifo config
- write_reg(0x0F, 0x8F);
+ write_reg(0x3C, 0x8F);
// DAGC config
write_reg(0x6F, 0x30);