HUB75: small delay at cleanup, to ensure that DMA finishes before deleting the driver
based on a suggestion by @DedeHai
This commit is contained in:
@@ -1174,6 +1174,7 @@ void BusHub75Matrix::cleanup() {
|
||||
#else
|
||||
USER_PRINTLN("HUB75 output paused.");
|
||||
#endif
|
||||
delay(30); // give some time to finish DMA
|
||||
|
||||
_valid = false;
|
||||
deallocatePins();
|
||||
|
||||
Reference in New Issue
Block a user