Skip to content

Commit 32eef84

Browse files
committed
added >= on motor update
1 parent 6a5b01f commit 32eef84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/firmware_01/firmware_01.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ void loop(){
247247
}
248248

249249
// motors update & publish
250-
if (millis()-tmotor>20){
250+
if (millis()-tmotor>=20){
251251
tmotor=millis();
252252
alvik.updateMotors();
253253
alvik.updateKinematics();

0 commit comments

Comments
 (0)