From 91ff04a79b9c9e2d2884a94a0d3a3b42177c672f Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Tue, 29 Oct 2024 18:45:54 +0100 Subject: [PATCH] HUB75 small optimization use CRGB instead converging to uint32_t, then extracting bytes with shift & mask --- wled00/bus_manager.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wled00/bus_manager.cpp b/wled00/bus_manager.cpp index 218e50d9..4fb5abaa 100644 --- a/wled00/bus_manager.cpp +++ b/wled00/bus_manager.cpp @@ -1056,13 +1056,18 @@ void __attribute__((hot)) BusHub75Matrix::show(void) { size_t pix = 0; // running pixel index for (int y=0; ydrawPixelRGB888(int16_t(x), int16_t(y), r, g, b); else display->drawPixelRGB888(int16_t(x), int16_t(y), r, g, b); }