From 559bde6b4a88bcc8ef54d6358ca47681cfe77ca9 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Mon, 6 Feb 2017 22:18:23 +0100 Subject: [PATCH] =?utf8?q?make=20=E2=80=9Creset=E2=80=9D=20menu=20consiste?= =?utf8?q?nt=20with=20X9D=20(long=20enter=20press)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- radio/src/gui/128x64/view_telemetry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radio/src/gui/128x64/view_telemetry.cpp b/radio/src/gui/128x64/view_telemetry.cpp index 2095b47ec..8340d3009 100644 --- a/radio/src/gui/128x64/view_telemetry.cpp +++ b/radio/src/gui/128x64/view_telemetry.cpp @@ -540,13 +540,14 @@ void menuViewTelemetryFrsky(event_t event) incrTelemetryScreen(); break; - case EVT_KEY_FIRST(KEY_ENTER): #if defined(CPUARM) + case EVT_KEY_LONG(KEY_ENTER): killEvents(event); POPUP_MENU_ADD_ITEM(STR_RESET_TELEMETRY); POPUP_MENU_ADD_ITEM(STR_RESET_FLIGHT); POPUP_MENU_START(onMainViewMenu); #else + case EVT_KEY_FIRST(KEY_ENTER): telemetryReset(); #endif break; -- 2.11.4.GIT