hardware watchdog

This commit is contained in:
Nikolay Khabarov committed 2017-07-23 03:10:27 +03:00
1 parent c09fd31457
commit 978f5f71d8
8 files changed
+126 -8

No files matched your search

+2
View File
@@ -6,6 +6,7 @@ from cnc.pulses import *
from cnc.coordinates import *
from cnc.heater import *
from cnc.enums import *
from cnc.watchdog import *
class GMachineException(Exception):
@@ -35,6 +36,7 @@ class GMachine(object):
self._heaters = dict()
self.reset()
hal.init()
self.watchdog = HardwareWatchdog()
def release(self):
""" Free all resources.