File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -414,6 +414,16 @@ void printReports()
414414 if (bluetoothCommandIsConnected () == true )
415415 return ;
416416
417+ if (inMainMenu)
418+ return ;
419+
420+ // Periodically display the firmware mode
421+ if (PERIODIC_DISPLAY (PD_FIRMWARE_MODE))
422+ {
423+ PERIODIC_CLEAR (PD_FIRMWARE_MODE);
424+ systemPrintf (" Firmware mode: %s\r\n " , stateToRtkMode (systemState));
425+ }
426+
417427 // Periodically print the position
418428 if (settings.enablePrintPosition && ((millis () - lastPrintPosition) > 15000 ))
419429 {
Original file line number Diff line number Diff line change @@ -1224,6 +1224,9 @@ void menuPeriodicPrint()
12241224 systemPrint (" 27) RTK correction source: " );
12251225 systemPrintf (" %s\r\n " , PERIODIC_SETTING (PD_CORRECTION_SOURCE) ? " Enabled" : " Disabled" );
12261226
1227+ systemPrint (" 28) Firmware mode: " );
1228+ systemPrintf (" %s\r\n " , PERIODIC_SETTING (PD_FIRMWARE_MODE) ? " Enabled" : " Disabled" );
1229+
12271230 systemPrintln (" ------ Clients -----" );
12281231 systemPrint (" 40) NTP server data: " );
12291232 systemPrintf (" %s\r\n " , PERIODIC_SETTING (PD_NTP_SERVER_DATA) ? " Enabled" : " Disabled" );
@@ -1356,6 +1359,8 @@ void menuPeriodicPrint()
13561359 settings.enablePrintStates ^= 1 ;
13571360 else if (incoming == 27 )
13581361 PERIODIC_TOGGLE (PD_CORRECTION_SOURCE);
1362+ else if (incoming == 28 )
1363+ PERIODIC_TOGGLE (PD_FIRMWARE_MODE);
13591364
13601365 else if (incoming == 40 )
13611366 PERIODIC_TOGGLE (PD_NTP_SERVER_DATA);
Original file line number Diff line number Diff line change @@ -372,6 +372,8 @@ enum PeriodDisplayValues
372372 PD_WEB_SERVER_STATE, // 39
373373
374374 PD_OTA_STATE, // 40
375+
376+ PD_FIRMWARE_MODE, // 41
375377 // Add new values before this line
376378};
377379
You can’t perform that action at this time.
0 commit comments