X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fflash25.h;h=5c31ba6e0e820bdbf3c87323da57ac0fc47f10b9;hb=692b24f898b31b95e639c0f43f225ed1726719d3;hp=53ca9197ef63d45ef3a285874a33f8412689efd6;hpb=37efb5bdc0504ab6df2e8db0635c9c6f7477e23e;p=bertos.git diff --git a/bertos/drv/flash25.h b/bertos/drv/flash25.h index 53ca9197..5c31ba6e 100644 --- a/bertos/drv/flash25.h +++ b/bertos/drv/flash25.h @@ -100,7 +100,7 @@ INLINE Flash25 * FLASH25_CAST(KFile *fd) #define FLASH25_SECTOR_SIZE 65536UL // Section size in byte #define FLASH25_MEM_SIZE FLASH25_NUM_SECTOR * FLASH25_SECTOR_SIZE #define FLASH25_NUM_PAGE FLASH25_MEM_SIZE / FLASH25_PAGE_SIZE -#elif +#else #error Nothing memory defined in CONFIG_FLASH25 are support. #endif