diff --git a/furi/core/check.h b/furi/core/check.h index 9fae15fdc..9b4404960 100644 --- a/furi/core/check.h +++ b/furi/core/check.h @@ -23,7 +23,7 @@ extern "C" { #define FURI_NORETURN noreturn #endif -#ifndef FURI_RAM_EXEC +#if !defined(FURI_RAM_EXEC) && !defined(FURI_DEBUG) #define __FURI_TRACE #endif diff --git a/scripts/assets.py b/scripts/assets.py index a1f833ebf..a5147f6bc 100755 --- a/scripts/assets.py +++ b/scripts/assets.py @@ -223,7 +223,7 @@ class Main(App): icons_c.write( """ const IconPath ICON_PATHS[] = { -#ifndef FURI_RAM_EXEC +#if !defined(FURI_RAM_EXEC) && !defined(FURI_DEBUG) """ ) for animated, name, path in paths: