Fixed return type.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16246 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2023-05-18 07:37:25 +00:00
parent b517274266
commit 78ddc5c689
1 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ static size_t __fffile_stm_read_impl(void *ip, uint8_t *bp, size_t n) {
* @param[in] b The byte value to be written to the stream.
* @return The operation status.
*/
static msg_t __fffile_stm_put_impl(void *ip, uint8_t b) {
static int __fffile_stm_put_impl(void *ip, uint8_t b) {
vfs_fatfs_file_node_c *self = oopIfGetOwner(vfs_fatfs_file_node_c, ip);
msg_t msg;
@ -490,7 +490,7 @@ static msg_t __fffile_stm_put_impl(void *ip, uint8_t b) {
* interface.
* @return A byte value from the stream.
*/
static msg_t __fffile_stm_get_impl(void *ip) {
static int __fffile_stm_get_impl(void *ip) {
vfs_fatfs_file_node_c *self = oopIfGetOwner(vfs_fatfs_file_node_c, ip);
msg_t msg;
uint8_t b;