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

This reverts commit e9082d6da2.
This commit is contained in:
Frank
2025-12-03 14:00:16 +01:00
parent e9082d6da2
commit f69c0717de

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