From 6c3f24dfe61aea73a997261caef180f389008cfe Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Fri, 6 Jun 2025 23:25:53 -0500 Subject: [PATCH] Add gps location to fsi --- src/graphics/Screen.cpp | 1 + src/graphics/Screen.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index 4f85dc7bf..c6d3c5f13 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -1425,6 +1425,7 @@ void Screen::setFrames(FrameFocus focus) normalFrames[numframes++] = graphics::NodeListRenderer::drawNodeListWithCompasses; indicatorIcons.push_back(icon_list); + fsi.positions.gps = numframes; normalFrames[numframes++] = graphics::UIRenderer::drawCompassAndLocationScreen; indicatorIcons.push_back(icon_compass); diff --git a/src/graphics/Screen.h b/src/graphics/Screen.h index fc2592c4d..8ee824f25 100644 --- a/src/graphics/Screen.h +++ b/src/graphics/Screen.h @@ -632,6 +632,7 @@ class Screen : public concurrency::OSThread uint8_t wifi = 255; uint8_t deviceFocused = 255; uint8_t memory = 255; + uint8_t gps = 255; } positions; uint8_t frameCount = 0;