]> git.tnoah.ca Git - lora-radio.git/commitdiff
Cleanup
authorMark Qvist <mark@unsigned.io>
Wed, 11 Jan 2023 08:42:11 +0000 (09:42 +0100)
committerMark Qvist <mark@unsigned.io>
Wed, 11 Jan 2023 08:42:11 +0000 (09:42 +0100)
RNode_Firmware.ino

index 3810675730ef4a09b38dfc92f4a635946902d735..8ea6faa94dbbc3d977d5ba3622f84f1ecc376f3b 100644 (file)
@@ -109,7 +109,11 @@ void setup() {
     #endif
 
     if (console_active) {
-      console_start();
+      #if HAS_CONSOLE
+        console_start();
+      #else
+        kiss_indicate_reset();
+      #endif
     } else {
       kiss_indicate_reset();
     }
@@ -987,7 +991,9 @@ void loop() {
   } else {
     if (hw_ready) {
       if (console_active) {
-        console_loop();
+        #if HAS_CONSOLE
+          console_loop();
+        #endif
       } else {
         led_indicate_standby();
       }