X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fflash25.h;h=27c6411fca2872d194bc89d67aabd4b4f8a91581;hb=ebd302f4820855188df16ee8422a947751bf2c50;hp=86dee8600f8cd22bb75d30b403409a8099d72c19;hpb=8cca97771bf57082616dde340005874812fb728a;p=bertos.git diff --git a/bertos/drv/flash25.h b/bertos/drv/flash25.h index 86dee860..27c6411f 100644 --- a/bertos/drv/flash25.h +++ b/bertos/drv/flash25.h @@ -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;