Added missing ICACHE_FLASH_ATTR to espFsInit

This commit is contained in:
Jindra Dolezy
2015-04-11 00:35:55 +02:00
parent d8afde3cc1
commit 13021e800e
+1 -1
View File
@@ -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;