fix:watchdog redefinition error

This commit is contained in:
Guohezu001 2024-10-29 10:59:54 +08:00
parent a07c133246
commit 546f904f0c
1 changed files with 1 additions and 1 deletions

View File

@ -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;