From 31f0c2f42bf6ece44106f935602cb5bfa6d9ab4f Mon Sep 17 00:00:00 2001 From: Juniel Cruz <46545892+cruzjuniel@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:13:36 +0800 Subject: [PATCH] Update to work with Arduino-ESP32 Core v3.1.0 --- README.md | 2 +- library.properties | 2 +- src/gfx4desp32_rgb_panel.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 337acdd..53889cb 100644 --- a/README.md +++ b/README.md @@ -11,4 +11,4 @@ It is recommended to use Workshop4 IDE to get the most of out the library functi ### Notes 1. Workshop4 is a **Windows-only** application. -2. This is tested against Arduino ESP32 Core version `3.0.0` and should be compatible with higher versions as long as there is no breaking changes to the board package. In case of any issues, please don't hesitate to [write an issue](https://github.com/4dsystems/GFX4dESP32/issues/new) or contact us directly. +2. This is tested against Arduino ESP32 Core version `3.1.0` and should be compatible with higher versions as long as there is no breaking changes to the board package. In case of any issues, please don't hesitate to [write an issue](https://github.com/4dsystems/GFX4dESP32/issues/new) or contact us directly. diff --git a/library.properties b/library.properties index c4b834f..4178f1d 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=GFX4dESP32 -version=1.1.1 +version=1.1.2 author=4D Systems Pty Ltd maintainer=4D Systems Pty Ltd sentence=Graphics Library for the gen4-ESP32 displays by 4D Systems diff --git a/src/gfx4desp32_rgb_panel.cpp b/src/gfx4desp32_rgb_panel.cpp index c498b07..69d653a 100644 --- a/src/gfx4desp32_rgb_panel.cpp +++ b/src/gfx4desp32_rgb_panel.cpp @@ -351,7 +351,7 @@ void gfx4desp32_rgb_panel::Invert(bool Inv) { /*** Not sure how to deal with this on RGB displays ***/ int panel_id = rgb_panel->panel_id; for (int i = 0; i < /*rgb_panel->data_width*/16; i++) { - esp_rom_gpio_connect_out_signal(/*rgb_panel->data_gpio_nums[i]*/RGB_InvertFix[i], lcd_periph_signals.panels[panel_id].data_sigs[i], + esp_rom_gpio_connect_out_signal(/*rgb_panel->data_gpio_nums[i]*/RGB_InvertFix[i], lcd_periph_rgb_signals.panels[panel_id].data_sigs[i], Inv, false); } }