mirror of
https://github.com/wled/WLED.git
synced 2025-07-13 05:46: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": {
|
"build": {
|
||||||
"srcDir": ".",
|
"srcDir": ".",
|
||||||
"includeDir": "../../wled00",
|
"includeDir": "../../wled00",
|
||||||
"libLDFMode": "chain+",
|
"extraScript": "override_sqrt.py"
|
||||||
"libArchive": false
|
|
||||||
},
|
},
|
||||||
"dependencies": [
|
"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