diff options
author | Mike Fiore <mfiore@multitech.com> | 2015-12-04 10:21:27 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2015-12-04 10:21:27 -0600 |
commit | 7f56fcdc391d449c749ff794518b7fff328d996a (patch) | |
tree | 46827498be411f34c7955c1395888f88e9a9624c /main.cpp | |
parent | 41a5c0de1343c4a4163c7096ea33bbfd6c3e84cb (diff) | |
download | mtdot-box-evb-factory-firmware-7f56fcdc391d449c749ff794518b7fff328d996a.tar.gz mtdot-box-evb-factory-firmware-7f56fcdc391d449c749ff794518b7fff328d996a.tar.bz2 mtdot-box-evb-factory-firmware-7f56fcdc391d449c749ff794518b7fff328d996a.zip |
display if GPS was detected on startup screen
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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"); |