diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-12-10 19:15:26 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-12-10 19:15:26 +0800 |
| commit | 8b20b3662691b86d8600e3601fc0756086ac945f (patch) | |
| tree | 050929cda1113a73af86186da2f15b0b35a4b91a /rf_test/radio.c | |
| parent | 50453a8581d8efea7a2aa0fcbb4c3e5ba31e5edf (diff) | |
| download | smart-home-8b20b3662691b86d8600e3601fc0756086ac945f.tar.gz | |
Switch off Manchester encoding.
Diffstat (limited to 'rf_test/radio.c')
| -rw-r--r-- | rf_test/radio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rf_test/radio.c b/rf_test/radio.c index af028f0..da09a16 100644 --- a/rf_test/radio.c +++ b/rf_test/radio.c @@ -119,9 +119,8 @@ void radio_init(const struct radio_cfg *cfg) write_reg(0x2F, cfg->netid); // packet config - write_reg(0x37, 0x30); + write_reg(0x37, 0x10); write_reg(0x38, cfg->payload_len); - write_reg(0x39, cfg->nodeid); // fifo config |
