drivers: wdt_sam0: remove log message during boot
The recent change in 2.2.0 that disables the watchdog on boot introduced a hard fault when a log message is generated too early before even the RTC is initialized. This commit removes the log message. Signed-off-by: Steven Slupsky <sslupsky@gmail.com>
This commit is contained in:
parent
bd4f721a59
commit
fbc72889af
1 changed files with 0 additions and 1 deletions
|
@ -127,7 +127,6 @@ static int wdt_sam0_setup(struct device *dev, u8_t options)
|
|||
static int wdt_sam0_disable(struct device *dev)
|
||||
{
|
||||
if (!wdt_sam0_is_enabled()) {
|
||||
LOG_ERR("Watchdog not enabled");
|
||||
return -EFAULT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue