fix: fixed the issue of slow startup for devices without cameras (#866)

This commit is contained in:
virgil
2025-06-30 22:41:42 +08:00
committed by GitHub
parent d1c586239c
commit 8a0ec8b657
4 changed files with 14 additions and 4 deletions

View File

@@ -548,9 +548,9 @@ public:
InitializeButton();
InitializeKnob();
Initializespd2010Display();
GetBacklight()->RestoreBrightness(); // 对于不带摄像头的版本InitializeCamera需要3s, 所以先恢复背光亮度
InitializeCamera();
InitializeIot();
GetBacklight()->RestoreBrightness();
}
virtual AudioCodec* GetAudioCodec() override {