mirror of
https://gitee.com/peng_zhihui/Dummy-Robot
synced 2025-11-04 20:49:40 +08:00
[Fw] Fix field init bug.
This commit is contained in:
parent
93060db14c
commit
4528299dce
@ -60,8 +60,8 @@ private:
|
||||
Error_t errorCode;
|
||||
State_t state;
|
||||
uint32_t goPosition;
|
||||
bool goDirection{};
|
||||
uint16_t sampleCount{};
|
||||
bool goDirection;
|
||||
uint16_t sampleCount = 0;
|
||||
uint16_t sampleDataRaw[SAMPLE_COUNTS_PER_STEP]{};
|
||||
uint16_t sampleDataAverageForward[MOTOR_ONE_CIRCLE_HARD_STEPS + 1]{};
|
||||
uint16_t sampleDataAverageBackward[MOTOR_ONE_CIRCLE_HARD_STEPS + 1]{};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user