csdk: 与官方手机 App 对齐——工具关闭灰度 CDF pivot(实测同刻分布重合);温度链移植规格入 README(待有 C 编译器时落地)

This commit is contained in:
ZXCLI
2026-10-06 04:06:48 +08:00
parent 3b191e6bca
commit 7e1db78676
3 changed files with 28 additions and 3 deletions
+5 -1
View File
@@ -125,7 +125,11 @@ int main(int argc, char **argv) {
cfg.ffc_drift = 250;
cfg.startup_force_ffc = 1;
cfg.warm_frames = 20;
cfg.cdf_pivot_75 = 1;
/* Official PHONE app runs the gray CDF WITHOUT the 75% pivot: with it on the
rendering is measurably darker than the official app (gray median 33 vs 61,
mean 60 vs 82 in a same-moment on-device comparison); off matches (50-54 vs 61,
80-81 vs 82). See docs/android_app/rendering_diff_phone_20261006.md. */
cfg.cdf_pivot_75 = 0;
cfg.ffc_cb = ffc_cb;
mag160c_render_t *render = NULL;
if (mag160c_render_init(&render, &cfg) != MAG160C_OK) {