mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-16 11:48:50 +01:00
reduce light time
This commit is contained in:
parent
a9e87bb1dc
commit
6d0190aa15
@ -82,11 +82,11 @@ def GobjectFlashLed1(main_screen):
|
|||||||
gobject_flash_led1_counter+=1
|
gobject_flash_led1_counter+=1
|
||||||
|
|
||||||
if gobject_flash_led1_counter == 2:
|
if gobject_flash_led1_counter == 2:
|
||||||
commands.getstatusoutput("echo 0 > /proc/driver/led1")
|
commands.getstatusoutput("echo 1 > /proc/driver/led1")
|
||||||
#turn off
|
#turn off
|
||||||
|
|
||||||
elif gobject_flash_led1_counter == 7:
|
elif gobject_flash_led1_counter == 4:
|
||||||
commands.getstatusoutput("echo 1 > /proc/driver/led1")
|
commands.getstatusoutput("echo 0 > /proc/driver/led1")
|
||||||
|
|
||||||
if gobject_flash_led1_counter == 10:
|
if gobject_flash_led1_counter == 10:
|
||||||
gobject_flash_led1_counter = 0
|
gobject_flash_led1_counter = 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user