Shared NTC sampling + M2 continuous temperature report

This commit is contained in:
2026-10-09 23:56:58 +08:00
parent bae56ad6cb
commit 6d9f1f54a8
5 changed files with 112 additions and 9 deletions
+6
View File
@@ -61,6 +61,12 @@
*/
void command_process(void);
/**
* @brief M2 连续温度上报任务(在主循环中周期调用,主循环周期 10ms)。
* @details M2 使能后按设定间隔向 RS485 发送温度帧(格式同 M1 响应)。
*/
void command_report_task(void);
/**
* @brief 解析并处理完整的命令帧。
* @param frame 指向完整命令帧的缓冲区(从包头0xD5开始)。