From b787ec445a9b856421a0bba3481303621ed2fd24 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 25 Jun 2019 06:39:07 +0200 Subject: [PATCH] Telemetry key update fixed --- src/chgId.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/chgId.lua b/src/chgId.lua index 2bab4d7..7966955 100644 --- a/src/chgId.lua +++ b/src/chgId.lua @@ -131,9 +131,10 @@ local function refreshTaranis() else lcd.drawText(60, 21, '-', getFlags(2)) end - if readIdState ~=0 then lcd.drawText(1, 38, 'Reading Id...', 0 + INVERS) end - if sendIdState ~=0 then lcd.drawText(1, 38, 'Updating Id...', 0 + INVERS) end - lcd.drawText(1, 54, 'Long press [ENTER] to update', SMLSIZE) + if readIdState ~=0 then lcd.drawText(1, 35, 'Reading Id...', 0 + INVERS) end + if sendIdState ~=0 then lcd.drawText(1, 35, 'Updating Id...', 0 + INVERS) end + lcd.drawText(1, 46, 'Long press [ENTER] or [MENU]', SMLSIZE) + lcd.drawText(1, 54, ' to update', SMLSIZE) lcdChange = false end @@ -186,7 +187,7 @@ local function run_func(event) selection.state = false lcdChange = true end - if event == EVT_ENTER_LONG then + if event == EVT_ENTER_LONG or event == EVT_MENU_LONG then -- killEvents(EVT_ENTER_LONG) -- not working if sensor.sensorId.selected ~= 29 and sensor.sensorType.selected ~= 11 then sendIdState = 1