fix:watchdog redefinition error
This commit is contained in:
parent
a07c133246
commit
546f904f0c
|
@ -168,7 +168,7 @@ static rt_err_t imx6ull_wdog_control(watchdog_t *wdt, int cmd, void *args)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
return RT_ERROR;
|
||||
return -RT_ERROR;
|
||||
}
|
||||
|
||||
return RT_EOK;
|
||||
|
|
Loading…
Reference in New Issue