Skip to content

Commit

Permalink
Merge pull request #372 from elagil/fix_eeprom_unused_parameter
Browse files Browse the repository at this point in the history
Fix unused parameter in EEPROM driver
  • Loading branch information
fpoussin committed Jul 17, 2023
2 parents a52d55a + 1bc2d47 commit ca25701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions os/hal/src/hal_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand All @@ -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;
Expand Down

0 comments on commit ca25701

Please sign in to comment.