mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-07-02 14:34:13 +02:00
Remove debug build settings from PR
This commit is contained in:
parent
5c1e0f25ee
commit
0a08e7ffbf
8
Boards.h
8
Boards.h
@ -43,14 +43,6 @@
|
|||||||
#define BOARD_GENERIC_NRF52 0x50
|
#define BOARD_GENERIC_NRF52 0x50
|
||||||
#define BOARD_RAK4630 0x51
|
#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__)
|
#if defined(__AVR_ATmega1284P__)
|
||||||
#define PLATFORM PLATFORM_AVR
|
#define PLATFORM PLATFORM_AVR
|
||||||
#define MCU_VARIANT MCU_1284P
|
#define MCU_VARIANT MCU_1284P
|
||||||
|
@ -372,9 +372,7 @@ void draw_stat_area() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void update_stat_area() {
|
void update_stat_area() {
|
||||||
// override eeprom check for BLE
|
if (eeprom_ok && !firmware_update_mode && !console_active) {
|
||||||
//if (eeprom_ok && !firmware_update_mode && !console_active) {
|
|
||||||
if ( !firmware_update_mode && !console_active) {
|
|
||||||
|
|
||||||
draw_stat_area();
|
draw_stat_area();
|
||||||
if (disp_mode == DISP_MODE_PORTRAIT) {
|
if (disp_mode == DISP_MODE_PORTRAIT) {
|
||||||
|
@ -1109,6 +1109,7 @@ void validate_status() {
|
|||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
hw_ready = false;
|
hw_ready = false;
|
||||||
|
Serial.write("No valid radio module found\r\n");
|
||||||
#if HAS_DISPLAY
|
#if HAS_DISPLAY
|
||||||
if (disp_ready) {
|
if (disp_ready) {
|
||||||
device_init_done = true;
|
device_init_done = true;
|
||||||
@ -1151,6 +1152,7 @@ void validate_status() {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
hw_ready = false;
|
hw_ready = false;
|
||||||
|
Serial.write("Error, incorrect boot vector\r\n");
|
||||||
#if HAS_DISPLAY
|
#if HAS_DISPLAY
|
||||||
if (disp_ready) {
|
if (disp_ready) {
|
||||||
device_init_done = true;
|
device_init_done = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user