mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
turn off led1 after stop counter
This commit is contained in:
parent
7b58c79293
commit
e087845724
@ -85,10 +85,12 @@ class CounterScreen(FullScreen):
|
||||
self._Number = 10
|
||||
commands.getstatusoutput("echo 0 > /proc/driver/led1")
|
||||
|
||||
|
||||
if self._GobjectIntervalId != -1:
|
||||
gobject.source_remove(self._GobjectIntervalId)
|
||||
self._GobjectIntervalId = -1
|
||||
|
||||
commands.getstatusoutput("echo 0 > /proc/driver/led1")
|
||||
commands.getstatusoutput("echo 0 > /proc/driver/led1")
|
||||
|
||||
def Init(self):
|
||||
self._CanvasHWND = pygame.Surface((self._Width,self._Height))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user