[error code][-RT_EIO] fix that use RT_EIO without -

This commit is contained in:
Meco Man
2023-03-16 13:12:51 -04:00
committed by Man, Jianting (Meco)
parent 334c609c6c
commit 2cc9bd876e
57 changed files with 87 additions and 87 deletions

View File

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