Skip to content

Commit 403b2d1

Browse files
committed
Fixed periodic WDT resets
1 parent 68eb852 commit 403b2d1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: esp8266-fastled-audio.ino

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19-
#define FASTLED_ALLOW_INTERRUPTS 0
19+
//#define FASTLED_ALLOW_INTERRUPTS 0
20+
#define FASTLED_INTERRUPT_RETRY_COUNT 0
2021
#include <FastLED.h>
2122
FASTLED_USING_NAMESPACE
2223

@@ -224,6 +225,8 @@ const uint8_t patternCount = ARRAY_SIZE(patterns);
224225
#include "Fields.h"
225226

226227
void setup() {
228+
WiFi.setSleepMode(WIFI_NONE_SLEEP);
229+
227230
Serial.begin(115200);
228231
delay(100);
229232
Serial.setDebugOutput(true);

0 commit comments

Comments
 (0)