Skip to content

Commit

Permalink
Merge branch 'main' into lvgl_9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausMu committed Dec 24, 2024
2 parents aca6d00 + 547ccce commit 4efbf8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Platformio/hardware/ESP32/boardtest/main_boardtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class LGFX : public lgfx::LGFX_Device
cfg.pin_sda = SDA;
cfg.pin_scl = SCL;
cfg.freq = 400000;
cfg.bus_shared = true;
cfg.x_min = 0;
cfg.x_max = screenWidth-1;
cfg.y_min = 0;
Expand Down
1 change: 1 addition & 0 deletions Platformio/hardware/ESP32/lvgl_hal_esp32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ static void my_touchpad_read(lv_indev_t *indev_driver, lv_indev_data_t *data) {
data->state = LV_INDEV_STATE_PRESSED;
data->point.x = x;
data->point.y = y;
setLastActivityTimestamp_HAL();
} else {
data->state = LV_INDEV_STATE_RELEASED;
}
Expand Down
1 change: 1 addition & 0 deletions Platformio/hardware/ESP32/tft_hal_esp32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ LGFX::LGFX(void) {
cfg.pin_sda = SDA_GPIO;
cfg.pin_scl = SCL_GPIO;
cfg.freq = 400000;
cfg.bus_shared = true;
cfg.x_min = 0;
cfg.x_max = SCR_WIDTH-1;
cfg.y_min = 0;
Expand Down

0 comments on commit 4efbf8c

Please sign in to comment.