File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -387,8 +387,10 @@ void createSettingsString(char* settingsCSV)
387387 char apDaysRemaining[20 ];
388388 if (strlen (settings.pointPerfectCurrentKey ) > 0 )
389389 {
390+ #ifdef COMPILE_L_BAND
390391 uint8_t daysRemaining = daysFromEpoch (settings.pointPerfectNextKeyStart + settings.pointPerfectNextKeyDuration + 1 );
391392 sprintf (apDaysRemaining, " %d" , daysRemaining);
393+ #endif
392394 }
393395 else
394396 sprintf (apDaysRemaining, " No Keys" );
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ const int FIRMWARE_VERSION_MINOR = 4;
2727
2828#define COMPILE_WIFI // Comment out to remove WiFi functionality
2929// #define COMPILE_AP //Requires WiFi. Comment out to remove Access Point functionality
30- // #define COMPILE_ESPNOW //Requires WiFi. Comment out to remove ESP-Now functionality.
31- // #define COMPILE_BT //Comment out to remove Bluetooth functionality
32- // #define COMPILE_L_BAND //Comment out to remove L-Band functionality
30+ #define COMPILE_ESPNOW // Requires WiFi. Comment out to remove ESP-Now functionality.
31+ #define COMPILE_BT // Comment out to remove Bluetooth functionality
32+ #define COMPILE_L_BAND // Comment out to remove L-Band functionality
3333#define ENABLE_DEVELOPER // Uncomment this line to enable special developer modes (don't check power button at startup)
3434
3535// Define the RTK board identifier:
Original file line number Diff line number Diff line change @@ -596,9 +596,8 @@ void updateSystemState()
596596 displayWiFiConfigNotStarted (); // Display immediately during SD cluster pause
597597
598598 bluetoothStop ();
599- #ifdef COMPILE_ESPNOW
600599 espnowStop ();
601- # endif
600+
602601 stopUART2Tasks (); // Delete F9 serial tasks if running
603602 startWebServer (); // Start in AP mode and show config html page
604603
You can’t perform that action at this time.
0 commit comments