debug code updates & fixes

better output when using WLED_DEBUG_HEAP without WLED_DEBUG
This commit is contained in:
Frank
2025-10-25 00:53:25 +02:00
parent 22d142942a
commit 60878305fb
4 changed files with 14 additions and 13 deletions

View File

@@ -1789,7 +1789,7 @@ uint32_t calculateNumberOfParticles1D(const uint32_t fraction, const bool isadva
numberofParticles = numberofParticles < 20 ? 20 : numberofParticles; // 20 minimum
//make sure it is a multiple of 4 for proper memory alignment (easier than using padding bytes)
numberofParticles = (numberofParticles+3) & ~0x03; // note: with a separate particle buffer, this is probably unnecessary
PSPRINTLN(" calc numparticles:" + String(numberofParticles))
PSPRINTLN(" calc numparticles:" + String(numberofParticles));
return numberofParticles;
}