fix minor bug (errorflag reset not working)

typo: == instead of =
This commit is contained in:
Frank
2025-11-11 23:09:09 +01:00
parent e4c964ebaf
commit 1e14e4b4e5

View File

@@ -2662,7 +2662,7 @@ bool WS2812FX::deserializeMap(uint8_t n) {
errorFlag = ERR_LOW_MEM; // WLEDMM raise errorflag
}
}
if ((errorFlag == ERR_LOW_MEM) && (size > 0) && (customMappingTable != nullptr)) errorFlag == ERR_NONE; // reset error flag
if ((errorFlag == ERR_LOW_MEM) && (size > 0) && (customMappingTable != nullptr)) errorFlag = ERR_NONE; // reset error flag
if (customMappingTable != nullptr) customMappingTableSize = size;
}