第一次修复
This commit is contained in:
@@ -31,6 +31,7 @@ typedef struct
|
||||
int64_t pv_pulse; // 当前的脉冲值
|
||||
int64_t sv_pulse; // 电脑端的设定脉冲值
|
||||
int64_t prev_pv_pulse;// 上一次脉冲值,用于检测过零点
|
||||
int32_t zero_counter; // 过零点步数计数器,每走一步+1或-1,到STEP_PER_LAP翻转PA6
|
||||
} MOTO_T;
|
||||
|
||||
extern MOTO_T g_tMoto;
|
||||
|
||||
Reference in New Issue
Block a user