更新通讯协议,完善灯丝控制
This commit is contained in:
@@ -8,6 +8,7 @@ sysOtpInfoDef _gtOtpInfo;
|
||||
sysParamDef *gptSysParam = &_gtSystemParam;
|
||||
sysOtpInfoDef *gptOtpInfo = &_gtOtpInfo;
|
||||
|
||||
|
||||
int loadSysParam(void)
|
||||
{
|
||||
debug("load param");
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user