Skip to content
Commit 6e9f4bb6 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Benjamin Cabé
Browse files

samples: task_wdt: Use wdt device if it is ready



hw_wdt_dev may not be NULL and the device not be ready to be used.
If that is the case we explicitely initialize task_wdt_init with
NULL and do not use hw watchdog.

Signed-off-by: default avatarFlavio Ceolin <flavio@hubblenetwork.com>
parent 2b091295
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment