diff options
Diffstat (limited to 'rf_test/radio.c')
| -rw-r--r-- | rf_test/radio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c index d9ba6df..00d5ea4 100644 --- a/rf_test/radio.c +++ b/rf_test/radio.c @@ -148,9 +148,10 @@ void radio_init(const struct radio_cfg *cfg) write_reg(0x06, 0x00); write_reg(0x19, 0xE0); write_reg(0x1A, 0xE0); + write_reg(0x37, 0x50); write_reg(0x38, cfg->payload_len); - // write_reg(0x39, cfg->nodeid); + write_reg(0x39, cfg->nodeid); // DIO mappings: IRQ on DIO0 write_reg(0x25, 0x40); |
