增加LilyGo T-CameraPlus-S3的摄像头红外过滤功能 (#766)

* set camera HMirror to true

* change key1 to camera button

* change key1 to camera button

* change key1 to camera button

* add ir filter controller

* add ir filter controller

* add ir filter controller
This commit is contained in:
yusuhua
2025-06-06 11:18:02 +08:00
committed by GitHub
parent 7bb12f31f0
commit b18dda3f2f
5 changed files with 59 additions and 16 deletions

View File

@@ -222,13 +222,6 @@ private:
});
}
// 物联网初始化,添加对 AI 可见设备
void InitializeIot() {
auto &thing_manager = iot::ThingManager::GetInstance();
thing_manager.AddThing(iot::CreateThing("Speaker"));
thing_manager.AddThing(iot::CreateThing("Screen"));
}
public:
LilygoTCircleS3Board() : boot_button_(BOOT_BUTTON_GPIO) {
InitializePowerSaveTimer();
@@ -238,7 +231,11 @@ public:
InitSpi();
InitGc9d01nDisplay();
InitializeButtons();
InitializeIot();
#if CONFIG_IOT_PROTOCOL_XIAOZHI
auto &thing_manager = iot::ThingManager::GetInstance();
thing_manager.AddThing(iot::CreateThing("Speaker"));
thing_manager.AddThing(iot::CreateThing("Screen"));
#endif
GetBacklight()->RestoreBrightness();
}