更新通讯协议,完善灯丝控制

This commit is contained in:
2026-08-26 16:06:02 +08:00
parent 29e22659ce
commit 653c7ec412
10 changed files with 228 additions and 113 deletions
+1
View File
@@ -8,6 +8,7 @@ sysOtpInfoDef _gtOtpInfo;
sysParamDef *gptSysParam = &_gtSystemParam;
sysOtpInfoDef *gptOtpInfo = &_gtOtpInfo;
int loadSysParam(void)
{
debug("load param");
+3 -4
View File
@@ -5,10 +5,9 @@
#pragma pack(1)
typedef struct __sysParamDef
{
uint16_t usAdcPeriod; ///< 定时采样周期 微秒
uint16_t usAdcinterval; ///< 定距采样间隔 微米
uint8_t ucUseEncoder; ///< 启用编码器
uint8_t ucAverageCount; ///< 平均次数
uint16_t usPreheatCurrent; ///< 预热电流 单位:毫安
uint16_t usLimitCurrent; ///< 电流限制 单位:毫安
uint16_t usXrayCurrent; ///< X射线电流 单位:微安
} sysParamDef;
typedef struct __sysOtpInfoDef