Fix more warnings
This commit is contained in:
parent
cfc346abad
commit
44a9fed8a9
@ -184,7 +184,7 @@ lib_deps =
|
|||||||
AsyncTCP @ 1.0.3
|
AsyncTCP @ 1.0.3
|
||||||
IRremoteESP8266 @ 2.7.3
|
IRremoteESP8266 @ 2.7.3
|
||||||
https://github.com/lorol/LITTLEFS.git
|
https://github.com/lorol/LITTLEFS.git
|
||||||
https://github.com/Aircoookie/ESPAsyncWebServer.git @ ~2.0.0
|
https://github.com/Aircoookie/ESPAsyncWebServer.git @ ~2.0.1
|
||||||
#For use of the TTGO T-Display ESP32 Module with integrated TFT display uncomment the following line
|
#For use of the TTGO T-Display ESP32 Module with integrated TFT display uncomment the following line
|
||||||
#TFT_eSPI
|
#TFT_eSPI
|
||||||
#For use SSD1306 OLED display uncomment following
|
#For use SSD1306 OLED display uncomment following
|
||||||
|
@ -545,7 +545,7 @@ uint16_t WS2812FX::dissolve(uint32_t color) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SEGENV.call > (255 - SEGMENT.speed) + 15)
|
if (SEGENV.call > (255 - SEGMENT.speed) + 15U)
|
||||||
{
|
{
|
||||||
SEGENV.aux0 = !SEGENV.aux0;
|
SEGENV.aux0 = !SEGENV.aux0;
|
||||||
SEGENV.call = 0;
|
SEGENV.call = 0;
|
||||||
@ -1034,7 +1034,7 @@ uint16_t WS2812FX::mode_running_random(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SEGENV.step++;
|
SEGENV.step++;
|
||||||
if (SEGENV.step > ((255-SEGMENT.intensity) >> 4))
|
if (SEGENV.step > (uint8_t)((255-SEGMENT.intensity) >> 4))
|
||||||
{
|
{
|
||||||
SEGENV.step = 0;
|
SEGENV.step = 0;
|
||||||
}
|
}
|
||||||
|
@ -200,8 +200,8 @@ bool deserializeState(JsonObject root)
|
|||||||
receiveNotifications = udpn[F("recv")] | receiveNotifications;
|
receiveNotifications = udpn[F("recv")] | receiveNotifications;
|
||||||
bool noNotification = udpn[F("nn")]; //send no notification just for this request
|
bool noNotification = udpn[F("nn")]; //send no notification just for this request
|
||||||
|
|
||||||
unsigned long timein = root[F("time")] | -1;
|
unsigned long timein = root[F("time")] | UINT32_MAX;
|
||||||
if (timein != -1) {
|
if (timein != UINT32_MAX) {
|
||||||
if (millis() - ntpLastSyncTime > 50000000L) setTime(timein);
|
if (millis() - ntpLastSyncTime > 50000000L) setTime(timein);
|
||||||
if (presetsModifiedTime == 0) presetsModifiedTime = timein;
|
if (presetsModifiedTime == 0) presetsModifiedTime = timein;
|
||||||
}
|
}
|
||||||
|
@ -45,8 +45,7 @@ public:
|
|||||||
}
|
}
|
||||||
BLYNK_LOG1(BLYNK_F("Connected to WiFi"));
|
BLYNK_LOG1(BLYNK_F("Connected to WiFi"));
|
||||||
|
|
||||||
IPAddress myip = WiFi.localIP();
|
BLYNK_LOG_IP("IP: ", WiFi.localIP());
|
||||||
BLYNK_LOG_IP("IP: ", myip);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void config(const char* auth,
|
void config(const char* auth,
|
||||||
|
Loading…
Reference in New Issue
Block a user