saved work on cmd timeout, not tested yet

This commit is contained in:
Ruixiang Du
2020-09-14 18:57:27 +08:00
parent 8ba694b894
commit 9e646c78b7
5 changed files with 8 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ namespace westonrobot {
void HunterBase::SendRobotCmd() {
static uint8_t cmd_count = 0;
SendMotionCmd(cmd_count++);
FeedCmdTimeoutWatchdog();
}
void HunterBase::SendMotionCmd(uint8_t count) {