diff --git a/wled00/usermod.cpp b/wled00/usermod.cpp index 329e957a85..00c1bdf3f2 100644 --- a/wled00/usermod.cpp +++ b/wled00/usermod.cpp @@ -26,6 +26,7 @@ void userSetup() { disableSoundProcessing = true; // just to be safe // Reset I2S peripheral for good measure i2s_driver_uninstall(I2S_NUM_0); + delay(100); // Give this peripheral time to disable to avoid an indeterminate state. periph_module_reset(PERIPH_I2S0_MODULE); delay(100); // Give that poor microphone some time to setup. @@ -386,4 +387,4 @@ void usermod_updateInfo(void) { audioStatusInfo[3][23] = '\0'; audioStatusInfo[4][23] = '\0'; audioStatusInfo[5][23] = '\0'; audioStatusInfo[6][23] = '\0'; -} \ No newline at end of file +}