From 13021e800e6c3cefe520aefba6573be9bff014b4 Mon Sep 17 00:00:00 2001 From: Jindra Dolezy Date: Thu, 9 Apr 2015 23:15:35 +0200 Subject: [PATCH] Added missing ICACHE_FLASH_ATTR to espFsInit --- espfs/espfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espfs/espfs.c b/espfs/espfs.c index 7536a41..a08c113 100644 --- a/espfs/espfs.c +++ b/espfs/espfs.c @@ -73,7 +73,7 @@ Accessing the flash through the mem emulation at 0x40200000 is a bit hairy: All a memory exception, crashing the program. */ -EspFsInitResult espFsInit(void *flashAddress) { +EspFsInitResult ICACHE_FLASH_ATTR espFsInit(void *flashAddress) { // base address must be aligned to 4 bytes if (((int)flashAddress & 3) != 0) { return ESPFS_INIT_RESULT_BAD_ALIGN;