From 5b4943e8764b8cd4671f8bd049dd9c68e1b5b403 Mon Sep 17 00:00:00 2001 From: olliw42 Date: Wed, 19 May 2021 19:13:10 +0200 Subject: [PATCH] it's for all users of gps --- radio/src/gui/colorlcd/layouts/topbar_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/gui/colorlcd/layouts/topbar_impl.cpp b/radio/src/gui/colorlcd/layouts/topbar_impl.cpp index 4e12fe4ba..3fe2ce672 100644 --- a/radio/src/gui/colorlcd/layouts/topbar_impl.cpp +++ b/radio/src/gui/colorlcd/layouts/topbar_impl.cpp @@ -32,7 +32,7 @@ TopbarImpl::TopbarImpl(Window * parent) : unsigned int TopbarImpl::getZonesCount() const { -#if defined(TELEMETRY_MAVLINK) && defined(INTERNAL_GPS) +#if defined(INTERNAL_GPS) return MAX_TOPBAR_ZONES-1; #endif return MAX_TOPBAR_ZONES; @@ -91,7 +91,7 @@ void TopbarImpl::paint(BitmapBuffer * dc) getTimerString(str, getValue(MIXSRC_TX_TIME)); dc->drawText(DATETIME_MIDDLE, DATETIME_LINE2, str, FONT(XS) | CENTERED | MENU_COLOR); -#if defined(TELEMETRY_MAVLINK) && defined(INTERNAL_GPS) +#if defined(INTERNAL_GPS) if (gpsData.fix) { char s[10]; sprintf(s, "%d", gpsData.numSat);