Skip to content

Commit

Permalink
Fixed periodic WDT resets
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncoon committed Jun 11, 2017
1 parent 68eb852 commit 403b2d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion esp8266-fastled-audio.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#define FASTLED_ALLOW_INTERRUPTS 0
//#define FASTLED_ALLOW_INTERRUPTS 0
#define FASTLED_INTERRUPT_RETRY_COUNT 0
#include <FastLED.h>
FASTLED_USING_NAMESPACE

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

void setup() {
WiFi.setSleepMode(WIFI_NONE_SLEEP);

Serial.begin(115200);
delay(100);
Serial.setDebugOutput(true);
Expand Down

0 comments on commit 403b2d1

Please sign in to comment.