mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-15 11:18:51 +01:00
...
This commit is contained in:
parent
94fe3586e6
commit
98c95c14ce
@ -92,6 +92,10 @@ def GobjectFlashLed1(main_screen):
|
|||||||
|
|
||||||
def RestoreLastBackLightBrightness(main_screen):
|
def RestoreLastBackLightBrightness(main_screen):
|
||||||
global last_brt,passout_time_stage
|
global last_brt,passout_time_stage
|
||||||
|
|
||||||
|
passout_time_stage = 0
|
||||||
|
main_screen._TitleBar._InLowBackLight = -1
|
||||||
|
|
||||||
if last_brt == -1:
|
if last_brt == -1:
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -103,8 +107,6 @@ def RestoreLastBackLightBrightness(main_screen):
|
|||||||
main_screen.Draw()
|
main_screen.Draw()
|
||||||
main_screen.SwapAndShow()
|
main_screen.SwapAndShow()
|
||||||
|
|
||||||
passout_time_stage = 0
|
|
||||||
main_screen._TitleBar._InLowBackLight = -1
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
f = open(config.BackLight,"r+")
|
f = open(config.BackLight,"r+")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user