tune: WINDOW_ORIGIN 100→500, 基线更新 1s→5s 对齐 M1H

- 新增 WINDOW_ORIGIN 宏,替换硬编码 100
- 500 × 10ms = 5s, 与 M1H 原始设计一致
- 500 样本滑动平均提供更强的噪声抑制
- vd960Loop 同步修改
This commit is contained in:
wangfq
2026-06-29 15:37:10 +08:00
parent 935e11e006
commit 9391d46ff4
2 changed files with 4 additions and 2 deletions

View File

@@ -47,6 +47,8 @@
*===========================================================================*/
#define USE_FLATNESS_EXIT 1
#define WINDOW_ORIGIN 500 // 基线跟踪窗口 (500 × 10ms = 5s)
/*===========================================================================
* 频率测量参数
* MEASUREMENT_BASE: 自适应测量窗口目标值 (≈131072)