From 78ddc5c6892bc987ece6e0cf71637804d6fd2940 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 18 May 2023 07:37:25 +0000 Subject: [PATCH] Fixed return type. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16246 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/vfs/drivers/fatfs/drvfatfs_impl.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/vfs/drivers/fatfs/drvfatfs_impl.inc b/os/vfs/drivers/fatfs/drvfatfs_impl.inc index 16cfe8538..36b888937 100644 --- a/os/vfs/drivers/fatfs/drvfatfs_impl.inc +++ b/os/vfs/drivers/fatfs/drvfatfs_impl.inc @@ -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;