forked from M-Labs/artiq
1
0
Fork 0

coredevice: remove obsolete watchdog code (#1458)

This commit is contained in:
Sebastien Bourdeauducq 2020-12-08 13:25:39 +08:00
parent 072053c3b2
commit 1ce505c547
2 changed files with 0 additions and 7 deletions

View File

@ -36,7 +36,6 @@ class Reply(Enum):
RPCRequest = 10 RPCRequest = 10
WatchdogExpired = 14
ClockFailure = 15 ClockFailure = 15
@ -627,8 +626,6 @@ class CommKernel:
self._serve_rpc(embedding_map) self._serve_rpc(embedding_map)
elif self._read_type == Reply.KernelException: elif self._read_type == Reply.KernelException:
self._serve_exception(embedding_map, symbolizer, demangler) self._serve_exception(embedding_map, symbolizer, demangler)
elif self._read_type == Reply.WatchdogExpired:
raise exceptions.WatchdogExpired
elif self._read_type == Reply.ClockFailure: elif self._read_type == Reply.ClockFailure:
raise exceptions.ClockFailure raise exceptions.ClockFailure
else: else:

View File

@ -104,10 +104,6 @@ class DMAError(Exception):
artiq_builtin = True artiq_builtin = True
class WatchdogExpired(Exception):
"""Raised when a watchdog expires."""
class ClockFailure(Exception): class ClockFailure(Exception):
"""Raised when RTIO PLL has lost lock.""" """Raised when RTIO PLL has lost lock."""