Fixed mode check

This commit is contained in:
Mark Qvist 2023-02-04 23:11:25 +01:00
parent 4a65aef6d6
commit 019c05c80d

View File

@ -137,7 +137,7 @@ void setup() {
// Validate board health, EEPROM and config
validate_status();
if (!op_mode == MODE_TNC) LoRa.setFrequency(0);
if (op_mode != MODE_TNC) LoRa.setFrequency(0);
}
void lora_receive() {