]> git.tnoah.ca Git - lora-radio.git/commitdiff
Fixed TNC mode init at startup
authorMark Qvist <mark@unsigned.io>
Tue, 24 Jan 2023 15:32:12 +0000 (16:32 +0100)
committerMark Qvist <mark@unsigned.io>
Tue, 24 Jan 2023 15:32:12 +0000 (16:32 +0100)
RNode_Firmware.ino

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