mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
StopCounter
This commit is contained in:
parent
2ebfc7b2fe
commit
fc86c7361e
@ -72,6 +72,8 @@ class CounterScreen(FullScreen):
|
||||
self._GobjectIntervalId = gobject.timeout_add(100,self.GObjectInterval)
|
||||
|
||||
def StopCounter(self):
|
||||
if self._Counting == False:
|
||||
return
|
||||
self._Counting = False
|
||||
self._Number = 10
|
||||
commands.getstatusoutput("echo 0 > /proc/driver/led1")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user