From a5630c82773277f48c2dca89c0dd95424d89e972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20M=C3=BAdry?= Date: Mon, 29 Jan 2024 10:19:22 +0100 Subject: [PATCH] fix: PRI inttypes error due to C++ invalid suffix on literal in SPIFFS --- components/spiffs/include/spiffs_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/spiffs/include/spiffs_config.h b/components/spiffs/include/spiffs_config.h index b245a5d1b5..3281619256 100644 --- a/components/spiffs/include/spiffs_config.h +++ b/components/spiffs/include/spiffs_config.h @@ -71,7 +71,7 @@ extern void spiffs_api_unlock(struct spiffs_t *fs); // Defines spiffs debug print formatters // some general signed number -#define _SPIPRIi "%"PRIdMAX +#define _SPIPRIi "%" PRIdMAX // address #define _SPIPRIad "%08x" // block