forked from xiaozhi/xiaozhi-esp32
use original brightness
This commit is contained in:
@@ -170,7 +170,7 @@ private:
|
|||||||
display->SetChatMessage("system", "");
|
display->SetChatMessage("system", "");
|
||||||
display->SetEmotion("happy");
|
display->SetEmotion("happy");
|
||||||
// 如果是LCD,还可以调节屏幕亮度
|
// 如果是LCD,还可以调节屏幕亮度
|
||||||
display->SetBacklight(50);
|
display->SetBacklight(display->brightness());
|
||||||
|
|
||||||
sleep_mode_enabled_ = false;
|
sleep_mode_enabled_ = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ private:
|
|||||||
display->SetChatMessage("system", "");
|
display->SetChatMessage("system", "");
|
||||||
display->SetEmotion("happy");
|
display->SetEmotion("happy");
|
||||||
// 如果是LCD,还可以调节屏幕亮度
|
// 如果是LCD,还可以调节屏幕亮度
|
||||||
display->SetBacklight(50);
|
display->SetBacklight(display->brightness());
|
||||||
|
|
||||||
sleep_mode_enabled_ = false;
|
sleep_mode_enabled_ = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user