diff --git a/os/kernel/include/chfiles.h b/os/kernel/include/chfiles.h index 4d2192eec..03313d13a 100644 --- a/os/kernel/include/chfiles.h +++ b/os/kernel/include/chfiles.h @@ -134,7 +134,7 @@ typedef struct { * * @api */ -#define chFileStreamGetSize(ip) ((ip)->vmt->getposition(ip)) +#define chFileStreamGetSize(ip) ((ip)->vmt->getsize(ip)) /** * @brief Returns the current file pointer position. diff --git a/readme.txt b/readme.txt index 9b91d0786..cd574ee30 100644 --- a/readme.txt +++ b/readme.txt @@ -82,6 +82,8 @@ ***************************************************************************** *** 2.5.1 *** +- FIX: Fixed bug in abstract file interface (bug 3579660)(backported to + 2.2.10 and 2.4.3). - FIX: Fixed wrong type for UART config registers (bug 3579434). - FIX: Fixed various typos and wrong limits in the STM32F4/F2 HAL driver (bug 3578944)(backported to 2.4.3).