From ff21743fbbffa538d53847cdf6c7700dc2b1ebdf Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Thu, 12 Mar 2026 16:00:52 +0100 Subject: [PATCH] fri3d_2024: cleanups --- internal_filesystem/lib/mpos/board/fri3d_2024.py | 5 ++--- .../board/matouch_esp32_s3_spi_ips_2_8_with_camera_ov3660.py | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal_filesystem/lib/mpos/board/fri3d_2024.py b/internal_filesystem/lib/mpos/board/fri3d_2024.py index a1e9284e..89a54728 100644 --- a/internal_filesystem/lib/mpos/board/fri3d_2024.py +++ b/internal_filesystem/lib/mpos/board/fri3d_2024.py @@ -12,7 +12,6 @@ import lvgl as lv import task_handler import drivers.display.st7789 as st7789 -import drivers.indev.cst816s as cst816s import mpos.ui import mpos.ui.focus_direction @@ -251,9 +250,9 @@ indev = lv.indev_create() indev.set_type(lv.INDEV_TYPE.KEYPAD) indev.set_read_cb(keypad_read_cb) indev.set_group(group) # is this needed? maybe better to move the default group creation to main.py so it's available everywhere... -disp = lv.display_get_default() # NOQA +disp = lv.display_get_default() indev.set_display(disp) # different from display -indev.enable(True) # NOQA +indev.enable(True) # Register the input device with InputManager InputManager.register_indev(indev) diff --git a/internal_filesystem/lib/mpos/board/matouch_esp32_s3_spi_ips_2_8_with_camera_ov3660.py b/internal_filesystem/lib/mpos/board/matouch_esp32_s3_spi_ips_2_8_with_camera_ov3660.py index 77ed36d8..73578a65 100644 --- a/internal_filesystem/lib/mpos/board/matouch_esp32_s3_spi_ips_2_8_with_camera_ov3660.py +++ b/internal_filesystem/lib/mpos/board/matouch_esp32_s3_spi_ips_2_8_with_camera_ov3660.py @@ -156,6 +156,7 @@ def init_cam(width, height, colormode): break if toreturn: + # disable and enable touch pad because camera initialization breaks it try: from mpos import InputManager indev = InputManager.list_indevs()[0]