ledmap not needed, part 2: always delete ledmap if it does not change pixel order

This commit is contained in:
Frank
2025-12-02 23:08:45 +01:00
committed by GitHub
parent 2ef623eeaa
commit e9082d6da2

View File

@@ -172,7 +172,7 @@ void WS2812FX::setUpMatrix() {
}
}
#ifdef WLED_ENABLE_HUB75MATRIX
//#ifdef WLED_ENABLE_HUB75MATRIX
// softhack007 hack: delete mapping table in case it only contains "identity"
if (customMappingTable != nullptr && customMappingTableSize > 0) {
bool isIdentity = true;
@@ -187,7 +187,7 @@ void WS2812FX::setUpMatrix() {
loadedLedmap = 0; //WLEDMM
}
}
#endif
//#endif
#else
isMatrix = false; // no matter what config says