From a2f06cb07728a73dd5fd99f0b3b43c3a0d572948 Mon Sep 17 00:00:00 2001 From: a-f-G-U-C <65810997+a-f-G-U-C@users.noreply.github.com> Date: Thu, 9 Sep 2021 14:12:37 +0000 Subject: [PATCH] Display HAE/MSL mode on startup --- src/gps/GPS.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gps/GPS.cpp b/src/gps/GPS.cpp index 0019bf307..6b0f64ff6 100644 --- a/src/gps/GPS.cpp +++ b/src/gps/GPS.cpp @@ -327,6 +327,11 @@ GPS *createGps() #ifdef NO_GPS return nullptr; #else +#ifdef GPS_ALTITUDE_HAE + DEBUG_MSG("Using HAE altitude model\n"); +#else + DEBUG_MSG("Using MSL altitude model\n"); +#endif // If we don't have bidirectional comms, we can't even try talking to UBLOX #ifdef GPS_TX_PIN // Init GPS - first try ublox