没有唤醒词的板子可以开启Auto Light Sleep,待机40~50mA

This commit is contained in:
Terrence
2025-03-04 06:27:11 +08:00
parent 5a71e1bdd6
commit 5997ff2ac4
9 changed files with 161 additions and 23 deletions

View File

@@ -4,6 +4,7 @@
#include <lvgl.h>
#include <esp_timer.h>
#include <esp_log.h>
#include <esp_pm.h>
#include <string>
@@ -35,6 +36,8 @@ protected:
int height_ = 0;
uint8_t brightness_ = 0;
esp_pm_lock_handle_t pm_lock_ = nullptr;
lv_display_t *display_ = nullptr;
lv_obj_t *emotion_label_ = nullptr;