docs: 补充核心分层中文注释

This commit is contained in:
chenjintao
2026-09-29 18:18:44 +08:00
parent a77471a7b1
commit 9fd01bb61b
81 changed files with 1189 additions and 112 deletions
@@ -2,6 +2,10 @@
#include <stdint.h>
/*
* 高负载来源使用独立引用计数:同一来源允许嵌套 begin/end,只有全部结束后
* 才进入冷却窗口。该状态用于标记采样质量,不直接计算电量百分比。
*/
typedef enum {
PLATFORM_BATTERY_LOAD_AUDIO = 0,
PLATFORM_BATTERY_LOAD_STEPPER,