def test2(): watchdog = Watchdog(connection=None) watchdog.reset() watchdog.enable(watchdog.WDTO_1S) watchdog.disable()
def watchdog(self): """Direct access to watchdog timer.""" return Watchdog(self.connection)
def test2(): watchdog = Watchdog(connection=None) watchdog.reset() watchdog.enable(watchdog.WDTO_1S) watchdog.disable()
def watchdog(self): """Direct access to watchdog timer.""" return Watchdog(self.connection)