Add watchdog seconds command

- prints the watchdog chain managed at second boundaries.
This commit is contained in:
Dhananjay Balan
2013-08-26 20:56:30 +05:30
committed by Chris Johns
parent 1fcff75505
commit 61154bf302
3 changed files with 11 additions and 1 deletions

View File

@@ -245,3 +245,11 @@ class rtems_wdt(rtems_watchdog_chain):
self.__doc__ = 'Display watchdog ticks chain'
super(rtems_wdt, self).__init__('rtems wdticks')
class rtems_wsec(rtems_watchdog_chain):
_class = 'wdseconds'
def __init__(self):
self.__doc__ = 'Display watchdog seconds chain'
super(rtems_wsec, self).__init__('rtems wdseconds')