feat: 支持记住显示器配置。

This commit is contained in:
2023-05-11 14:13:14 +08:00
parent 8b124f8182
commit 3a23e1760b
3 changed files with 139 additions and 4 deletions

View File

@ -14,7 +14,7 @@ impl DisplayHandler {
pub async fn fetch_state(&self) {
let mut controller = self.controller.write().await;
let mut temp_state = DisplayState::default();
let mut temp_state = self.state.read().await.clone();
match controller.handle.get_vcp_feature(0x10) {
Ok(value) => {