Merge pull request #698 from deftdawg/oled_sleep_param-fix

Fix oled_sleep_param only retaining lowest 8-bits of value
This commit is contained in:
wenjie
2025-12-23 16:13:09 +08:00
committed by GitHub

View File

@@ -95,10 +95,11 @@ typedef struct {
int8_t type = -1; // cat /kvmapp/kvm/type
int8_t now_fps = -1; // cat /kvmapp/kvm/now_fps
int16_t qlty = -1; // cat /kvmapp/kvm/qlty
uint8_t oled_sleep_param = 0;
uint16_t oled_sleep_param = 0;
uint8_t oled_sleep_state = 0; // 0:wakeup; 1:sleep;
uint64_t oled_sleep_start = 0;
uint64_t ue_patch_state = 0;
} kvm_oled_state_t;
#endif // CONFIG_H_