mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-04-05 10:20:05 +00:00
[error code][-RT_EIO] fix that use RT_EIO without -
This commit is contained in:
committed by
Man, Jianting (Meco)
parent
334c609c6c
commit
2cc9bd876e
@@ -94,7 +94,7 @@ static rt_err_t raspi_wdg_control(rt_watchdog_t *wdt, int cmd, void *arg)
|
||||
raspi_watchdog_stop();
|
||||
break;
|
||||
default:
|
||||
return RT_EIO;
|
||||
return -RT_EIO;
|
||||
}
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user