mirror of
https://github.com/naruxde/revpimodio2.git
synced 2026-03-31 15:08:09 +02:00
docs: improve watchdog toggle terminology and formatting
Changed 'Autowatchdog' to 'automatic watchdog toggle' for clarity. Fixed inconsistent indentation in _set_wdtoggle docstring.
This commit is contained in:
@@ -1013,9 +1013,9 @@ class Connect(Core):
|
|||||||
|
|
||||||
def _get_wdtoggle(self) -> bool:
|
def _get_wdtoggle(self) -> bool:
|
||||||
"""
|
"""
|
||||||
Retrieves the value for Autowatchdog.
|
Retrieves the automatic watchdog toggle status.
|
||||||
|
|
||||||
:return: True if autowatchdog is active
|
:return: True if automatic watchdog toggle is active
|
||||||
"""
|
"""
|
||||||
return self.__th_wdtoggle is not None and self.__th_wdtoggle.is_alive()
|
return self.__th_wdtoggle is not None and self.__th_wdtoggle.is_alive()
|
||||||
|
|
||||||
@@ -1033,7 +1033,7 @@ class Connect(Core):
|
|||||||
|
|
||||||
def _set_wdtoggle(self, value: bool) -> None:
|
def _set_wdtoggle(self, value: bool) -> None:
|
||||||
"""
|
"""
|
||||||
Sets the value for autowatchdog.
|
Sets the automatic watchdog toggle.
|
||||||
|
|
||||||
If this value is set to True, the necessary bit to toggle the watchdog is switched between True and False every 10 seconds in the background.
|
If this value is set to True, the necessary bit to toggle the watchdog is switched between True and False every 10 seconds in the background.
|
||||||
This bit is automatically written to the process image with autorefresh=True.
|
This bit is automatically written to the process image with autorefresh=True.
|
||||||
|
|||||||
Reference in New Issue
Block a user