debug out: flush serial buffer after dumping out ledmap.
This commit is contained in:
@@ -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."));
|
||||
|
||||
Reference in New Issue
Block a user