feat: HDR 休眠阈值可自定义,新增进入/退出双阈值迟滞机制

- up.sh: 比率 ≥ 进入阈值(默认 1.15)进入休眠,≤ 退出阈值(默认 1.05)恢复,
  hdr.flag 由时间冷却改为休眠状态标记,迟滞区间内不抖动
- WebUI: 开启 HDR 休眠后展开进入/退出阈值输入,随主配置保存
- customize.sh/config.json/README 同步新字段 hdr_enter_ratio / hdr_exit_ratio
This commit is contained in:
YuleBest committed 2026-09-08 23:34:01 +08:00
1 parent 7ebbfaf24b
commit f9dd4c40d6
8 files changed
+80 -20

No files matched your search

+2
View File
@@ -5,6 +5,8 @@
"log_max_size": 512,
"auto_bri_sleep": 1,
"display_hdr_sleep": 0,
"hdr_enter_ratio": 1.15,
"hdr_exit_ratio": 1.05,
"sleep_time": "",
"inotify_events": "c",
"now_bri_file": "/sys/class/backlight/panel0-backlight/brightness",