1、修复了小概率采集到错误ad值的bug

2、优化了中间抬升下降的bug
This commit is contained in:
2025-10-27 17:50:31 +08:00
parent 291a41e850
commit 445e67f234
3 changed files with 71 additions and 22 deletions
+2 -2
View File
@@ -180,8 +180,8 @@
#define CLR_TWIN_BIT1() PORT_ResetBits(TWIN_BIT1_PORTx, TWIN_BIT1_PINx)//拉低
typedef struct {
uint32_t ControlLevel;//控制等级
uint32_t DBGWaveOut;//调试波形输出
int32_t ControlLevel;//控制等级
int32_t DBGWaveOut;//调试波形输出
}__attribute__ ((packed))LayoutPara_t, *LayoutPara;//上位机下发的配置参数
typedef struct {