From 1bc2d472b6fde3171c47a23f853191894aab8955 Mon Sep 17 00:00:00 2001 From: elagil Date: Sun, 2 Jul 2023 16:10:37 +0200 Subject: [PATCH] fix(eeprom): unused parameter --- os/hal/src/hal_eeprom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/hal/src/hal_eeprom.c b/os/hal/src/hal_eeprom.c index e2805c1731..301094e892 100644 --- a/os/hal/src/hal_eeprom.c +++ b/os/hal/src/hal_eeprom.c @@ -136,7 +136,7 @@ size_t EepromWriteWord(EepromFileStream *efs, uint32_t data) { } msg_t eepfs_getsize(void *ip, fileoffset_t *offset) { - + (void)offset; uint32_t h, l; osalDbgCheck((ip != NULL) && (((EepromFileStream *)ip)->vmt != NULL) && @@ -148,7 +148,7 @@ msg_t eepfs_getsize(void *ip, fileoffset_t *offset) { } msg_t eepfs_getposition(void *ip, fileoffset_t *offset) { - + (void)offset; osalDbgCheck((ip != NULL) && (((EepromFileStream *)ip)->vmt != NULL)); return ((EepromFileStream *)ip)->position;