We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 913f569 + 7212fb9 commit 3dc2c8cCopy full SHA for 3dc2c8c
1 file changed
src/main.cpp
@@ -1401,7 +1401,7 @@ void setup()
1401
#endif
1402
1403
// check if the radio chip matches the selected region
1404
- if ((config.lora.region == meshtastic_Config_LoRaConfig_RegionCode_LORA_24) && (!rIf->wideLora())) {
+ if ((config.lora.region == meshtastic_Config_LoRaConfig_RegionCode_LORA_24) && rIf && (!rIf->wideLora())) {
1405
LOG_WARN("LoRa chip does not support 2.4GHz. Revert to unset");
1406
config.lora.region = meshtastic_Config_LoRaConfig_RegionCode_UNSET;
1407
nodeDB->saveToDisk(SEGMENT_CONFIG);
0 commit comments