debug out: flush serial buffer after dumping out ledmap.

This commit is contained in:
Frank
2023-06-01 22:57:15 +02:00
committed by GitHub
parent 404fb566fa
commit f300ffdbe9

View File

@@ -140,6 +140,7 @@ void WS2812FX::setUpMatrix() {
DEBUG_PRINTF("%4d,", customMappingTable[i]);
}
DEBUG_PRINTLN();
USER_FLUSH(); // wait until serial buffer is written out - to avoid loss/corruption of future debug messages
#endif
} else { // memory allocation error
DEBUG_PRINTLN(F("Ledmap alloc error."));