making the spiffs write guarded if firmware was compiled with spiffs flash enabled

This commit is contained in:
iceman1001 2025-06-11 12:27:04 +02:00
commit 646f1a5b97

View file

@ -535,7 +535,7 @@ void RunMod(void) {
SpinErr(LED_D, 50, 8); SpinErr(LED_D, 50, 8);
partialEmulation = true; partialEmulation = true;
} else { } else {
#if WITH_FLASH #ifdef WITH_FLASH
DbpString("[" _GREEN_("+") "] " _GREEN_("Emulator memory filled completely. Start storing card in spiff memory.")); DbpString("[" _GREEN_("+") "] " _GREEN_("Emulator memory filled completely. Start storing card in spiff memory."));
uint8_t *emCARD = BigBuf_get_EM_addr(); uint8_t *emCARD = BigBuf_get_EM_addr();
char dumpFileName[30] = {0}; char dumpFileName[30] = {0};