mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-02 22:54:58 -04:00
Cleanup
This commit is contained in:
parent
6e7370acdc
commit
71e73580f7
4 changed files with 11 additions and 7 deletions
|
@ -241,8 +241,13 @@ void setup() {
|
|||
#if MODEM == SX1280
|
||||
avoid_interference = false;
|
||||
#else
|
||||
if (EEPROM.read(eeprom_addr(ADDR_CONF_DIA)) == 0x01) { avoid_interference = false; }
|
||||
else { avoid_interference = true; }
|
||||
#if HAS_EEPROM
|
||||
if (EEPROM.read(eeprom_addr(ADDR_CONF_DIA)) == 0x01) { avoid_interference = false; }
|
||||
else { avoid_interference = true; }
|
||||
#elif MCU_VARIANT == MCU_NRF52
|
||||
if (eeprom_read(eeprom_addr(ADDR_CONF_DIA)) == 0x01) { avoid_interference = false; }
|
||||
else { avoid_interference = true; }
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue