diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-01-12 18:54:59 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-01-12 18:54:59 +0800 |
| commit | af05548d7f0f86525ad01668a44776cfd31d4da1 (patch) | |
| tree | 0eb06caae69e73a1342398a1109e35a6337380d6 /rf_test/radio.c | |
| parent | 691ee497916d25d7ad4687d4bb843f81e74f1e64 (diff) | |
| download | smart-home-af05548d7f0f86525ad01668a44776cfd31d4da1.tar.gz | |
wip
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 23b6884..4e6118a 100644 --- a/rf_test/radio.c +++ b/rf_test/radio.c @@ -316,7 +316,6 @@ static inline void set_mode_stdby(void) write_reg(RH_RF69_REG_5A_TESTPA1, RH_RF69_TESTPA1_NORMAL); write_reg(RH_RF69_REG_5C_TESTPA2, RH_RF69_TESTPA2_NORMAL); } - set_mode(RH_RF69_OPMODE_MODE_STDBY); mode = STDBY; } @@ -393,7 +392,7 @@ void radio_init(const struct radio_cfg *cfg) SPCR |= (1 << SPE) | (1 << MSTR); set_mode_stdby(); - + // LNA, AFC and RXBW settings write_reg(0x18, 0x88); write_reg(0x19, 0x55); |
