From 332c65238daa5fddf8a7a2f29bacd659d1b60e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B9=8F?= <52451470+txp666@users.noreply.github.com> Date: Mon, 2 Mar 2026 18:10:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=20OttoEmojiDisplay=20?= =?UTF-8?q?=E6=9E=84=E9=80=A0=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84=20SetThe?= =?UTF-8?q?me=20=E8=B0=83=E7=94=A8=E4=BB=A5=E4=BF=AE=E5=A4=8D=20LoadProhib?= =?UTF-8?q?ited=20=E5=B4=A9=E6=BA=83=20(#1803)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Enhance Otto Robot camera support by adding configuration for OV3660. Updated config.h to define camera types and GPIO settings, modified config.json to include new camera options, and refactored otto_robot.cc for improved camera detection and initialization logic. * fix: 移除 OttoEmojiDisplay 构造函数中的 SetTheme 调用以修复 LoadProhibited 崩溃 Made-with: Cursor --- main/boards/otto-robot/otto_emoji_display.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/main/boards/otto-robot/otto_emoji_display.cc b/main/boards/otto-robot/otto_emoji_display.cc index 86449bc..7702091 100644 --- a/main/boards/otto-robot/otto_emoji_display.cc +++ b/main/boards/otto-robot/otto_emoji_display.cc @@ -14,7 +14,6 @@ #define TAG "OttoEmojiDisplay" OttoEmojiDisplay::OttoEmojiDisplay(esp_lcd_panel_io_handle_t panel_io, esp_lcd_panel_handle_t panel, int width, int height, int offset_x, int offset_y, bool mirror_x, bool mirror_y, bool swap_xy) : SpiLcdDisplay(panel_io, panel, width, height, offset_x, offset_y, mirror_x, mirror_y, swap_xy) { - SetTheme(LvglThemeManager::GetInstance().GetTheme("dark")); } void OttoEmojiDisplay::SetupUI() {