reduce debug noise on serial

downgraded a few USER_PRINT to DEBUG_PRINT
This commit is contained in:
Frank
2025-11-30 01:22:34 +01:00
parent e17e67f02d
commit 15451c16f9
3 changed files with 8 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ void WS2812FX::setUpMatrix() {
return;
}
USER_PRINTF("setUpMatrix %d x %d\n", Segment::maxWidth, Segment::maxHeight);
DEBUG_PRINTF("setUpMatrix %d x %d\n", Segment::maxWidth, Segment::maxHeight);
// WLEDMM check if mapping table is necessary (avoiding heap fragmentation)
#if defined(WLED_ENABLE_HUB75MATRIX)
@@ -66,7 +66,7 @@ void WS2812FX::setUpMatrix() {
if (Segment::maxWidth * Segment::maxHeight > customMappingTableSize) {
size_t size = max(ledmapMaxSize, size_t(Segment::maxWidth * Segment::maxHeight)); // TroyHacks
if (!needLedMap) size = 0; // softhack007
USER_PRINTF("setupmatrix customMappingTable alloc %d from %d\n", size, customMappingTableSize);
DEBUG_PRINTF("setupmatrix customMappingTable alloc %d from %d\n", size, customMappingTableSize);
//if (customMappingTable != nullptr) delete[] customMappingTable;
//customMappingTable = new(std::nothrow) uint16_t[size];