DUBAI: fix brewing percent not reset

This commit is contained in:
Pakin 2025-04-30 16:08:24 +07:00
parent f77f5ab0c7
commit 8b13b74c42
2 changed files with 25 additions and 0 deletions

View file

@ -392,12 +392,29 @@
DEBUGVAR "BREW_CNT Still not set"
DEBUGVAR BREW_CNT
DEBUGVAR ShowCountDownBrewing
EndIf
Else
If BREW_CNT > InitCNT Then
DEBUGVAR "InitCNT must reset"
Var InitCNT = BREW_CNT
EndIf
EndIf
EndIf
Var XPercent = InitCNT - ShowCountDownBrewing
If ShowCountDownBrewing <= 5 Then
Var XPercent = 95
If SetPercent100 = 1 Then

View file

@ -732,6 +732,14 @@
DEBUGVAR "BREW_CNT Still not set"
DEBUGVAR BREW_CNT
DEBUGVAR ShowCountDownBrewing
EndIf
Else
If BREW_CNT > InitCNT Then
DEBUGVAR "InitCNT must reset"
Var InitCNT = BREW_CNT
EndIf
EndIf
EndIf