Refactor FLASH25 macro in FLASH25_CAST.
[bertos.git] / bertos / drv / flash25.h
index 86dee8600f8cd22bb75d30b403409a8099d72c19..27c6411fca2872d194bc89d67aabd4b4f8a91581 100644 (file)
@@ -71,7 +71,7 @@ typedef struct Flash25
 /**
  * Convert + ASSERT from generic KFile to Flash25.
  */
-INLINE Flash25 * FLASH25KFILE(KFile *fd)
+INLINE Flash25 * FLASH25_CAST(KFile *fd)
 {
        ASSERT(fd->_type == KFT_FLASH25);
        return (Flash25 *)fd;