]> git.tnoah.ca Git - lora-radio.git/commitdiff
Remove debug build settings from PR
authorKevin Brosius <cobra@compuserve.com>
Mon, 11 Mar 2024 20:55:01 +0000 (16:55 -0400)
committerKevin Brosius <cobra@compuserve.com>
Mon, 11 Mar 2024 20:55:01 +0000 (16:55 -0400)
Boards.h
Display.h
RNode_Firmware.ino

index bdc557b5fc1e535b069eed34839ec3b3b4596771..a111fabf44144906ac7d315077498e1d4d20729c 100644 (file)
--- a/Boards.h
+++ b/Boards.h
   #define BOARD_GENERIC_NRF52 0x50
   #define BOARD_RAK4630       0x51
 
-
-  // -----------------------------------
-  // override for local compile
-  //#define BOARD_MODEL  BOARD_LORA32_V1_0
-  #define BOARD_MODEL  BOARD_HELTEC_LORA32_V3
-  // -----------------------------------
-
-
   #if defined(__AVR_ATmega1284P__)
     #define PLATFORM PLATFORM_AVR
     #define MCU_VARIANT MCU_1284P
index a8803575938fe6938d6924b0940ab1e645b6277c..e0b17c6ac4e213a702fcc39010d9f638313a1571 100644 (file)
--- a/Display.h
+++ b/Display.h
@@ -372,9 +372,7 @@ void draw_stat_area() {
 }
 
 void update_stat_area() {
-  // override eeprom check for BLE
-  //if (eeprom_ok && !firmware_update_mode && !console_active) {
-  if ( !firmware_update_mode && !console_active) {
+  if (eeprom_ok && !firmware_update_mode && !console_active) {
     
     draw_stat_area();
     if (disp_mode == DISP_MODE_PORTRAIT) {
index 9bb5def507245b152a42d8d11178768db058101d..54ddb125e8c117daf2c3441062b3cd4abdb755af 100644 (file)
@@ -1109,6 +1109,7 @@ void validate_status() {
             #endif
           } else {
             hw_ready = false;
+            Serial.write("No valid radio module found\r\n");
             #if HAS_DISPLAY
               if (disp_ready) {
                 device_init_done = true;
@@ -1151,6 +1152,7 @@ void validate_status() {
     }
   } else {
     hw_ready = false;
+    Serial.write("Error, incorrect boot vector\r\n");
     #if HAS_DISPLAY
       if (disp_ready) {
         device_init_done = true;