summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/main.cpp b/main.cpp
index 5fbf58d..7b7c7c4 100644
--- a/main.cpp
+++ b/main.cpp
@@ -62,10 +62,6 @@ char* file_name;
// Prototypes
void mainMenu();
-void join();
-void loraDemo();
-void surveySingle();
-void surveySweep();
int main() {
debug.baud(115200);
@@ -93,11 +89,13 @@ int main() {
modeDemo = new ModeDemo(lcd, buttons, dot, lora, gps);
modeConfig = new ModeConfig(lcd, buttons, dot, lora, gps);
- logInfo("GPS %sdetected", gps->gpsDetected() ? "" : "not ");
+ osDelay(1000);
+ logInfo("%sGPS detected", gps->gpsDetected() ? "" : "no ");
// display startup screen for 3 seconds
LayoutStartup ls(lcd, dot);
ls.display();
+ ls.updateGPS(gps->gpsDetected());
osDelay(3000);
logInfo("displaying main menu");