mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-20 19:41:47 +02:00
changed numieric constant with correct constant variable in move()
This commit is contained in:
parent
60314ec101
commit
ad41f6b5ca
@ -42,8 +42,8 @@ void Motion::move(uint32_t moveForMs) {
|
|||||||
if (moveForMs > 0){
|
if (moveForMs > 0){
|
||||||
xTaskCreate(moveTask, "Move", 4096, (void*)moveForMs, 10, &xMoveTaskHandle);
|
xTaskCreate(moveTask, "Move", 4096, (void*)moveForMs, 10, &xMoveTaskHandle);
|
||||||
} else{
|
} else{
|
||||||
Motion::left.setSpeed(4096);
|
Motion::left.setSpeed(LEFT_MOTOR_DUTY);
|
||||||
Motion::right.setSpeed(4096);
|
Motion::right.setSpeed(RIGHT_MOTOR_DUTY);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user