desperate attempt for 8266 survival

* bring back UREAL_MATH (inaccuate, but smaller flash)
* typing to tune feature sets so they fit into small 8266 models
This commit is contained in:
Frank
2025-11-24 15:50:04 +01:00
parent eba5c2f8a1
commit 384cbec86e
3 changed files with 49 additions and 22 deletions

View File

@@ -110,7 +110,7 @@ float tan_approx(float x) {
return res;
}
#if 0 // WLEDMM we prefer libm functions that are accurate and fast.
#if defined(WLED_USE_UNREAL_MATH) // WLEDMM we prefer libm functions that are accurate and fast.
#define ATAN2_CONST_A 0.1963f
#define ATAN2_CONST_B 0.9817f