From df31c022a9b6cc45fd543ee6b43de336e871a0c4 Mon Sep 17 00:00:00 2001 From: RootDmytro Date: Thu, 3 Apr 2025 22:27:17 +0300 Subject: [PATCH] disabled unused macro declaration that was causing conflict disabled SPIFFS redeclaration that was creating declaration conflict as a byproduct in sources that would include JPEGDecoder.h This was the cause of error: JPEGDecoder.h:48:20: error: conflicting declaration 'fs::SPIFFSFS LittleFS' whenever JPEGDecoder.h was included before inclusion of SPIFFS-related headers. --- src/JPEGDecoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/JPEGDecoder.h b/src/JPEGDecoder.h index 8c1018d..26b1976 100644 --- a/src/JPEGDecoder.h +++ b/src/JPEGDecoder.h @@ -45,12 +45,12 @@ Latest version here: #include #include #include - #define SPIFFS LittleFS +// #define SPIFFS LittleFS #elif defined (ARDUINO_ARCH_RP2040) #define LOAD_FLASH_FS #include #include - #define SPIFFS LittleFS +// #define SPIFFS LittleFS #define TJPGD_LOAD_FFS #endif