Skip to content

Commit 3dc2c8c

Browse files
authored
Merge branch 'develop' into multicast-fix
2 parents 913f569 + 7212fb9 commit 3dc2c8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ void setup()
14011401
#endif
14021402

14031403
// check if the radio chip matches the selected region
1404-
if ((config.lora.region == meshtastic_Config_LoRaConfig_RegionCode_LORA_24) && (!rIf->wideLora())) {
1404+
if ((config.lora.region == meshtastic_Config_LoRaConfig_RegionCode_LORA_24) && rIf && (!rIf->wideLora())) {
14051405
LOG_WARN("LoRa chip does not support 2.4GHz. Revert to unset");
14061406
config.lora.region = meshtastic_Config_LoRaConfig_RegionCode_UNSET;
14071407
nodeDB->saveToDisk(SEGMENT_CONFIG);

0 commit comments

Comments
 (0)