From 4e4773a370d6e80ca1365d8cc8d13233ffba7504 Mon Sep 17 00:00:00 2001 From: cschwinne Date: Tue, 29 Oct 2019 01:19:04 +0100 Subject: [PATCH] Fix JSON API FX change not sending sync (#283) Rename duplicate effects (#294) Add India Standard Time Fix flash on startup Fix NTP with lwip2 --- wled00/wled05_init.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/wled05_init.ino b/wled00/wled05_init.ino index 42dac628..9d58315c 100644 --- a/wled00/wled05_init.ino +++ b/wled00/wled05_init.ino @@ -26,6 +26,7 @@ void wledInit() DEBUG_PRINTLN(ESP.getFreeHeap()); strip.init(EEPROM.read(372),ledCount,EEPROM.read(2204)); //init LEDs quickly + strip.setBrightness(0); DEBUG_PRINT("LEDs inited. heap usage ~"); DEBUG_PRINTLN(heapPreAlloc - ESP.getFreeHeap()); @@ -225,8 +226,7 @@ void initInterfaces() { udpConnected = notifierUdp.begin(udpPort); if (udpConnected && udpRgbPort != udpPort) udpRgbConnected = rgbUdp.begin(udpRgbPort); } - if (ntpEnabled && WLED_CONNECTED) - ntpConnected = ntpUdp.begin(ntpLocalPort); + if (ntpEnabled) ntpConnected = ntpUdp.begin(ntpLocalPort); initBlynk(blynkApiKey); initE131();