Fix fast-math attribute syntax in const.h

a fatal typo
This commit is contained in:
Frank
2025-10-26 00:35:06 +02:00
committed by GitHub
parent 0071677340
commit 3e99bb8643

View File

@@ -601,7 +601,7 @@
#define WLED_O2_ATTR __attribute__((optimize("O2")))
#if !defined(WLEDMM_SAVE_FLASH) // WLEDMM
#define WLED_O3_ATTR __attribute__((optimize("O3,fast_math")))
#define WLED_O3_ATTR __attribute__((optimize("O3,fast-math")))
#else
#define WLED_O3_ATTR WLED_O2_ATTR // -O3 increases flash size due to loop unrolling
#endif