mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Add SetTot menu
This commit is contained in:
1 parent
103a23926d
commit
0d9320b9d6
1 file changed
+5
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user