- pid can negative
- controller: check user input and continue, removed old stuff, cleaned up git-svn-id: http://moon:8086/svn/projects/HendiControl@275 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -58,14 +58,11 @@ if __name__ == '__main__':
|
||||
ablauf.pause()
|
||||
if signum == signal.SIGCONT:
|
||||
ablauf.cont()
|
||||
if signum == signal.SIGHUP:
|
||||
ablauf.restart()
|
||||
|
||||
# Set the signal handler and a 5-second alarm
|
||||
signal.signal(signal.SIGABRT, handler)
|
||||
signal.signal(signal.SIGINT, handler)
|
||||
signal.signal(signal.SIGCONT, handler)
|
||||
signal.signal(signal.SIGHUP, handler)
|
||||
|
||||
fp = open("brewpi.json")
|
||||
configJson = json.load(fp)
|
||||
|
||||
Reference in New Issue
Block a user