File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 9
9
#include <zephyr/drivers/watchdog.h>
10
10
11
11
#define WDT_SETUP_HELP \
12
- "Set up watchdog instance. Syntax:\n" \
13
- "<device>"
12
+ SHELL_HELP("Set up watchdog instance", "<device>")
14
13
15
14
#define WDT_DISABLE_HELP \
16
- "Disable watchdog instance. Syntax:\n" \
17
- "<device>"
15
+ SHELL_HELP("Disable watchdog instance", "<device>")
18
16
19
17
#define WDT_TIMEOUT_HELP \
20
- "Install a new timeout. Syntax:\n" \
21
- "<device> <none|cpu|soc> <min_ms> <max_ms>"
18
+ SHELL_HELP("Install a new timeout", "<device> <none|cpu|soc> <min_ms> <max_ms>")
22
19
23
20
#define WDT_FEED_HELP \
24
- "Feed specified watchdog timeout. Syntax:\n" \
25
- "<device> <channel_id>"
21
+ SHELL_HELP("Feed specified watchdog timeout", "<device> <channel_id>")
26
22
27
23
static const char * const wdt_reset_name [] = {
28
24
[WDT_FLAG_RESET_NONE ] = "none" ,
You can’t perform that action at this time.
0 commit comments