drivers: watchdog_shell: fix compiler error
Fix wdt_shell.c:54:13: error: implicit declaration of function 'strtoul' Tested with west build -p -b nrf52dk_nrf52832 samples/drivers/watchdog -DCONFIG_SHELL=y. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
9551f2708b
commit
420d9563a4
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <zephyr/shell/shell.h>
|
||||
#include <zephyr/drivers/watchdog.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue