Searched refs:cur_step_cnt (Results 1 – 1 of 1) sorted by relevance
1633 uint32_t cur_step_cnt; in sendStepCnt() local1634 cur_step_cnt = (int)(mTask.dataBuffer[1] | (mTask.dataBuffer[2] << 8)); in sendStepCnt()1636 if (cur_step_cnt != mTask.last_step_cnt) { in sendStepCnt()1638 if (cur_step_cnt < mTask.last_step_cnt) { in sendStepCnt()1639 mTask.total_step_cnt += cur_step_cnt + (0xFFFF - mTask.last_step_cnt); in sendStepCnt()1641 mTask.total_step_cnt += (cur_step_cnt - mTask.last_step_cnt); in sendStepCnt()1643 mTask.last_step_cnt = cur_step_cnt; in sendStepCnt()