samples: subsys: task_wdt: Minor corrections in config and doc
Use the actual minimum timeout used by the sample for task watchdog channels (100 ms) as the configuration value for the fallback hardware watchdog, to avoid unnecessary executions of the timer handler. Add missing indentation in the documentation of the sample so that the console output is rendered correctly. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
df1125a58c
commit
ad0e3a40e8
2 changed files with 11 additions and 11 deletions
|
@ -36,13 +36,13 @@ reset):
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
Task watchdog sample application.
|
||||
Main thread still alive...
|
||||
Control thread started.
|
||||
Main thread still alive...
|
||||
Main thread still alive...
|
||||
Main thread still alive...
|
||||
Control thread getting stuck...
|
||||
Main thread still alive...
|
||||
Task watchdog channel 1 callback, thread: control
|
||||
Resetting device...
|
||||
Task watchdog sample application.
|
||||
Main thread still alive...
|
||||
Control thread started.
|
||||
Main thread still alive...
|
||||
Main thread still alive...
|
||||
Main thread still alive...
|
||||
Control thread getting stuck...
|
||||
Main thread still alive...
|
||||
Task watchdog channel 1 callback, thread: control
|
||||
Resetting device...
|
||||
|
|
|
@ -5,6 +5,6 @@ CONFIG_WDT_LOG_LEVEL_DBG=y
|
|||
CONFIG_WDT_DISABLE_AT_BOOT=y
|
||||
|
||||
CONFIG_TASK_WDT=y
|
||||
CONFIG_TASK_WDT_MIN_TIMEOUT=50
|
||||
CONFIG_TASK_WDT_MIN_TIMEOUT=100
|
||||
|
||||
CONFIG_THREAD_NAME=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue