new build flag SR_ENABLE_DEFAULT

for boards with builtin microphone (like PICO)
This commit is contained in:
Frank
2023-01-18 23:09:37 +01:00
parent 4681e9fee3
commit 72168d28b1
3 changed files with 6 additions and 1 deletions

View File

@@ -820,7 +820,11 @@ class AudioReactive : public Usermod {
};
// set your config variables to their boot default value (this can also be done in readFromConfig() or a constructor if you prefer)
#ifdef SR_ENABLE_DEFAULT
bool enabled = true; // WLEDMM
#else
bool enabled = false;
#endif
bool initDone = false;
// variables for UDP sound sync