From 0d9320b9d630265c9f96a1ba8e7f87c1dca60933 Mon Sep 17 00:00:00 2001 From: Armel FAUVEAU Date: Thu, 1 Feb 2024 19:39:19 +0100 Subject: [PATCH] Add SetTot menu --- app/app.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/app.c b/app/app.c index 06a023d..9e6b22b 100644 --- a/app/app.c +++ b/app/app.c @@ -855,7 +855,11 @@ void APP_Update(void) gBlinkCounter++; - if(gBlinkCounter > 74000) + if( + (gSetting_set_tot == 3 && gEeprom.BACKLIGHT_TIME != 0 && gBlinkCounter > 74000) || + (gSetting_set_tot == 3 && gEeprom.BACKLIGHT_TIME == 0 && gBlinkCounter > 79000) || + (gSetting_set_tot != 3 && gBlinkCounter > 76000) + ) // try to calibrate 10 times { gBlinkCounter = 0;