From d9e542663634812e9136b66bd1d53f187979d33a Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Sun, 2 Nov 2025 16:38:03 +0100 Subject: [PATCH] HUB75: small correction of order first set _valid=false, then perform delay. --- wled00/bus_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/bus_manager.cpp b/wled00/bus_manager.cpp index a9b479b2..eaa46caa 100644 --- a/wled00/bus_manager.cpp +++ b/wled00/bus_manager.cpp @@ -1174,9 +1174,9 @@ void BusHub75Matrix::cleanup() { #else USER_PRINTLN("HUB75 output paused."); #endif - delay(30); // give some time to finish DMA _valid = false; + delay(30); // give some time to finish DMA deallocatePins(); _len = 0; //if (fourScanPanel != nullptr) delete fourScanPanel; // warning: deleting object of polymorphic class type 'VirtualMatrixPanel' which has non-virtual destructor might cause undefined behavior