From 5386fe92adf03f8990cfe13e3714f4ffb217eb3a Mon Sep 17 00:00:00 2001 From: 3djc Date: Sun, 23 Jul 2023 03:19:11 +0200 Subject: [PATCH] feat(bw): Auto expand sensor list when discovering sensors (#3828) --- radio/src/gui/128x64/model_telemetry.cpp | 1 + radio/src/gui/212x64/model_telemetry.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/radio/src/gui/128x64/model_telemetry.cpp b/radio/src/gui/128x64/model_telemetry.cpp index ac690db26e4..b9d7290962a 100644 --- a/radio/src/gui/128x64/model_telemetry.cpp +++ b/radio/src/gui/128x64/model_telemetry.cpp @@ -205,6 +205,7 @@ void menuModelTelemetry(event_t event) if (attr && event==EVT_KEY_BREAK(KEY_ENTER)) { s_editMode = 0; allowNewSensors = !allowNewSensors; + telemExpandState.sensors = true; } break; diff --git a/radio/src/gui/212x64/model_telemetry.cpp b/radio/src/gui/212x64/model_telemetry.cpp index 54e2106e309..c3c62585b3e 100644 --- a/radio/src/gui/212x64/model_telemetry.cpp +++ b/radio/src/gui/212x64/model_telemetry.cpp @@ -199,6 +199,7 @@ void menuModelTelemetry(event_t event) if (attr && event==EVT_KEY_BREAK(KEY_ENTER)) { s_editMode = 0; allowNewSensors = !allowNewSensors; + telemExpandState.sensors = true; } break;