Attempt at creating audio sync listen EPS8266

This commit is contained in:
Will Tatam
2023-07-26 02:31:24 +01:00
parent a7e0ba56e4
commit 7a41771382

View File

@@ -819,6 +819,8 @@ static void detectSamplePeak(void) {
}
}
#endif
static void autoResetPeak(void) {
uint16_t MinShowDelay = MAX(50, strip.getMinShowDelay()); // Fixes private class variable compiler error. Unsure if this is the correct way of fixing the root problem. -THATDONFC
if (millis() - timeOfPeak > MinShowDelay) { // Auto-reset of samplePeak after a complete frame has passed.
@@ -827,7 +829,6 @@ static void autoResetPeak(void) {
}
}
#endif
////////////////////
// usermod class //
////////////////////