From 646f1a5b9760d77311a288a1173efc4b11e1eec8 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 11 Jun 2025 12:27:04 +0200 Subject: [PATCH] making the spiffs write guarded if firmware was compiled with spiffs flash enabled --- armsrc/Standalone/hf_mattyrun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/Standalone/hf_mattyrun.c b/armsrc/Standalone/hf_mattyrun.c index ea0252091..ab08abb16 100644 --- a/armsrc/Standalone/hf_mattyrun.c +++ b/armsrc/Standalone/hf_mattyrun.c @@ -535,7 +535,7 @@ void RunMod(void) { SpinErr(LED_D, 50, 8); partialEmulation = true; } else { -#if WITH_FLASH +#ifdef WITH_FLASH DbpString("[" _GREEN_("+") "] " _GREEN_("Emulator memory filled completely. Start storing card in spiff memory.")); uint8_t *emCARD = BigBuf_get_EM_addr(); char dumpFileName[30] = {0};