From ba014e873bce72041523d616df2987125f2cd0c3 Mon Sep 17 00:00:00 2001 From: MMX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 15 Jun 2024 18:20:53 +0300 Subject: [PATCH] [FL-3854] Disable logging in mjs +2k free flash (#3713) * disable logging in mjs * mjs: alternative way to disable logging Co-authored-by: hedger --- lib/mjs/common/platforms/platform_flipper.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/mjs/common/platforms/platform_flipper.h b/lib/mjs/common/platforms/platform_flipper.h index 2a118e0fa..38220d195 100644 --- a/lib/mjs/common/platforms/platform_flipper.h +++ b/lib/mjs/common/platforms/platform_flipper.h @@ -37,9 +37,8 @@ typedef struct stat cs_stat_t; #define DIRSEP '/' -#ifndef CS_ENABLE_STDIO +#undef CS_ENABLE_STDIO #define CS_ENABLE_STDIO 0 -#endif #ifndef MG_ENABLE_FILESYSTEM #define MG_ENABLE_FILESYSTEM 0