X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Feeprom.h;h=60ef15696f38fad7520a5d3424097c10fdca9fe4;hb=202e173ecdce67ba47b646308ae713b5801c56da;hp=15c565535e343bd77d6d3bc78ef0146fb4e29b94;hpb=ab10db1777ca727e2d239cda21bef6aff3d695a3;p=bertos.git diff --git a/bertos/drv/eeprom.h b/bertos/drv/eeprom.h index 15c56553..60ef1569 100644 --- a/bertos/drv/eeprom.h +++ b/bertos/drv/eeprom.h @@ -83,7 +83,7 @@ typedef struct Eeprom /** * Convert + ASSERT from generic KFile to Eeprom. */ -INLINE Eeprom * EEPROM(KFile *fd) +INLINE Eeprom * EEPROM_CAST(KFile *fd) { ASSERT(fd->_type == KFT_EEPROM); return (Eeprom *)fd;