X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fflash25.h;h=2712c70aedba56f5623042fe5371f8e886bf80b3;hb=24e36c81e1486c98337bc178fba5d252c7f490a4;hp=96aab7489eacd0b2a6b79c9dc559569686e85298;hpb=3d3f1c948f803155daf4e06f126294e05b74c370;p=bertos.git diff --git a/bertos/drv/flash25.h b/bertos/drv/flash25.h index 96aab748..2712c70a 100644 --- a/bertos/drv/flash25.h +++ b/bertos/drv/flash25.h @@ -99,7 +99,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