From bc099c394c100eb69bab2180fa4b9a42940a8459 Mon Sep 17 00:00:00 2001 From: BlueAndi Date: Fri, 17 Jan 2025 20:34:41 +0100 Subject: [PATCH 1/3] Display on/off was not handled in Display::show() of the HalHub75Esp32 --- lib/HalHub75Esp32/src/Display.cpp | 26 ++++++++++++++++++++++++++ lib/HalHub75Esp32/src/Display.h | 23 +---------------------- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/lib/HalHub75Esp32/src/Display.cpp b/lib/HalHub75Esp32/src/Display.cpp index d56b62f0..f95219df 100644 --- a/lib/HalHub75Esp32/src/Display.cpp +++ b/lib/HalHub75Esp32/src/Display.cpp @@ -111,6 +111,32 @@ Display::~Display() { } +void Display::show() +{ + if (true == m_isOn) + { + int16_t y; + int16_t x; + + for(y = 0; y < Board::LedMatrix::height; ++y) + { + for(x = 0; x < Board::LedMatrix::width; ++x) + { + Color& color = m_ledMatrix.getColor(x, y); + +#if CONFIG_DISPLAY_ROTATE180 != 0 + m_panel.drawPixelRGB888( + Board::LedMatrix::width - x - 1, + Board::LedMatrix::height - y - 1, + color.getRed(), color.getGreen(), color.getBlue()); +#else + m_panel.drawPixelRGB888(x, y, color.getRed(), color.getGreen(), color.getBlue()); +#endif + } + } + } +} + void Display::off() { m_isOn = false; diff --git a/lib/HalHub75Esp32/src/Display.h b/lib/HalHub75Esp32/src/Display.h index 3d749556..e1b10aa4 100644 --- a/lib/HalHub75Esp32/src/Display.h +++ b/lib/HalHub75Esp32/src/Display.h @@ -93,28 +93,7 @@ class Display : public IDisplay * Show framebuffer on physical display. This may be synchronous * or asynchronous. */ - void show() final - { - int16_t y; - int16_t x; - - for(y = 0; y < Board::LedMatrix::height; ++y) - { - for(x = 0; x < Board::LedMatrix::width; ++x) - { - Color& color = m_ledMatrix.getColor(x, y); - -#if CONFIG_DISPLAY_ROTATE180 != 0 - m_panel.drawPixelRGB888( - Board::LedMatrix::width - x - 1, - Board::LedMatrix::height - y - 1, - color.getRed(), color.getGreen(), color.getBlue()); -#else - m_panel.drawPixelRGB888(x, y, color.getRed(), color.getGreen(), color.getBlue()); -#endif - } - } - } + void show() final; /** * The display is ready, when the last physical pixel update is finished. From 923c40efdba1181721bd01bd0fc7d0985ae25730 Mon Sep 17 00:00:00 2001 From: BlueAndi Date: Fri, 17 Jan 2025 20:45:50 +0100 Subject: [PATCH 2/3] Add recommended VSCode extensions. --- .vscode/extensions.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 080e70d0..91e87ba3 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,9 +2,12 @@ // See http://go.microsoft.com/fwlink/?LinkId=827846 // for the documentation about the extensions.json format "recommendations": [ - "platformio.platformio-ide" + "platformio.platformio-ide", + "ms-vscode.cpptools", + "ms-vscode.cpptools-extension-pack", + "ms-vscode.cpptools-themes", + "yzhang.markdown-all-in-one", + "jebbs.plantuml" ], - "unwantedRecommendations": [ - "ms-vscode.cpptools-extension-pack" - ] + "unwantedRecommendations": [] } From 13e935226de0c145ead884d44e9129d0596a0462 Mon Sep 17 00:00:00 2001 From: BlueAndi Date: Fri, 17 Jan 2025 20:45:59 +0100 Subject: [PATCH 3/3] Prepare for v8.1.0 --- data/version.json | 2 +- doc/doxygen/Doxyfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/version.json b/data/version.json index 2676a163..58bfac9f 100644 --- a/data/version.json +++ b/data/version.json @@ -1,3 +1,3 @@ { - "version": "v8.0.0" + "version": "v8.1.0" } \ No newline at end of file diff --git a/doc/doxygen/Doxyfile b/doc/doxygen/Doxyfile index 6428baf7..a6e24f39 100644 --- a/doc/doxygen/Doxyfile +++ b/doc/doxygen/Doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = Pixelix # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = v8.0.0 +PROJECT_NUMBER = v8.1.0 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a