mirror of
https://github.com/wled/WLED.git
synced 2025-07-12 21:36:32 +00:00
audioreactive: Move flags to library
Use a PlatformIO script to move the last of AR_buildflags in to the module itself.
This commit is contained in:
parent
71b0e8e937
commit
8527d231e1
@ -3,8 +3,7 @@
|
||||
"build": {
|
||||
"srcDir": ".",
|
||||
"includeDir": "../../wled00",
|
||||
"libLDFMode": "chain+",
|
||||
"libArchive": false
|
||||
"extraScript": "override_sqrt.py"
|
||||
},
|
||||
"dependencies": [
|
||||
{
|
||||
|
5
usermods/audioreactive/override_sqrt.py
Normal file
5
usermods/audioreactive/override_sqrt.py
Normal file
@ -0,0 +1,5 @@
|
||||
Import('env')
|
||||
|
||||
for lb in env.GetLibBuilders():
|
||||
if lb.name == "arduinoFFT":
|
||||
lb.env.Append(CPPDEFINES=[("sqrt_internal", "sqrtf")])
|
Loading…
x
Reference in New Issue
Block a user