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

This commit is contained in:
Meco Man
2023-03-16 20:20:37 -04:00
committed by Man, Jianting (Meco)
parent 334c609c6c
commit 2cc9bd876e
57 changed files with 87 additions and 87 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ static rt_err_t swm_spi_configure(struct rt_spi_device *device,
}
else
{
return RT_EIO;
return -RT_EIO;
}
if (configure->mode & RT_SPI_CPHA)
+1 -1
View File
@@ -131,7 +131,7 @@ static rt_err_t swm_spi_configure(struct rt_spi_device *device,
}
else
{
return RT_EIO;
return -RT_EIO;
}
if (configure->mode & RT_SPI_CPHA)