Merge remote-tracking branch 'upstream/main' into mdev

This commit is contained in:
Ewoud
2023-01-07 12:01:03 +01:00
41 changed files with 330 additions and 328 deletions

View File

@@ -155,7 +155,7 @@ void WLED::loop()
}
//LED settings have been saved, re-init busses
//This code block causes severe FPS drop on ESP32 with the original "if (busConfigs[0] != nullptr)" conditional. Investigate!
//This code block causes severe FPS drop on ESP32 with the original "if (busConfigs[0] != nullptr)" conditional. Investigate!
if (doInitBusses) {
doInitBusses = false;
DEBUG_PRINTLN(F("Re-init busses."));
@@ -416,7 +416,7 @@ void WLED::setup()
if (!fsinit) {
DEBUG_PRINTLN(F("FS failed!"));
errorFlag = ERR_FS_BEGIN;
}
}
#ifdef WLED_ADD_EEPROM_SUPPORT
else deEEP();
#else
@@ -672,10 +672,10 @@ bool WLED::initEthernet()
}
if (!ETH.begin(
(uint8_t) es.eth_address,
(int) es.eth_power,
(int) es.eth_mdc,
(int) es.eth_mdio,
(uint8_t) es.eth_address,
(int) es.eth_power,
(int) es.eth_mdc,
(int) es.eth_mdio,
(eth_phy_type_t) es.eth_type,
(eth_clock_mode_t) es.eth_clk_mode
)) {