File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed
Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -440,8 +440,9 @@ void recordSystemSettingsToFile(File *settingsFile)
440440 settingsFile->printf (" %s=%d\r\n " , " debugFirmwareUpdate" , settings.debugFirmwareUpdate );
441441 settingsFile->printf (" %s=%d\r\n " , " enableAutoFirmwareUpdate" , settings.enableAutoFirmwareUpdate );
442442
443- // Add new settings above
444- // <------------------------------------------------------------>
443+ settingsFile->printf (" %s=%d\r\n " , " debugLBand" , settings.debugLBand );
444+
445+ // Add new settings above <------------------------------------------------------------>
445446}
446447
447448// Given a fileName, parse the file and load the given settings struct
Original file line number Diff line number Diff line change @@ -390,6 +390,9 @@ void menuDebugHardware()
390390 systemPrint (" 9) u-blox I2C Debugging Output: " );
391391 systemPrintf (" %s\r\n " , settings.enableI2Cdebug ? " Enabled" : " Disabled" );
392392
393+ systemPrint (" 10) L-Band Debugging Output: " );
394+ systemPrintf (" %s\r\n " , settings.debugLBand ? " Enabled" : " Disabled" );
395+
393396 systemPrintln (" e) Erase LittleFS" );
394397
395398 systemPrintln (" t) Test Screen" );
@@ -439,6 +442,10 @@ void menuDebugHardware()
439442 else
440443 theGNSS.disableDebugging ();
441444 }
445+ else if (incoming == 10 )
446+ {
447+ settings.debugLBand ^= 1 ;
448+ }
442449
443450 else if (incoming == ' e' )
444451 {
Original file line number Diff line number Diff line change @@ -1082,8 +1082,9 @@ typedef struct
10821082 bool enableAutoFirmwareUpdate = false;
10831083 uint32_t autoFirmwareCheckMinutes = 24 * 60 ;
10841084
1085- //Add new settings above
1086- //<------------------------------------------------------------>
1085+ bool debugLBand = false;
1086+
1087+ //Add new settings above <------------------------------------------------------------>
10871088
10881089} Settings ;
10891090Settings settings ;
You can’t perform that action at this time.
0 commit comments