aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/roboclaw/RoboClaw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/roboclaw/RoboClaw.cpp')
-rw-r--r--src/drivers/roboclaw/RoboClaw.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/roboclaw/RoboClaw.cpp b/src/drivers/roboclaw/RoboClaw.cpp
index b0a8527c2..fdaa7f27b 100644
--- a/src/drivers/roboclaw/RoboClaw.cpp
+++ b/src/drivers/roboclaw/RoboClaw.cpp
@@ -183,8 +183,8 @@ float RoboClaw::getMotorPosition(e_motor motor)
} else if (motor == MOTOR_2) {
return _motor2Position;
} else {
- warnx("Unknown motor value passed to RoboClaw::getMotorPosition");
- return NAN;
+ warnx("Unknown motor value passed to RoboClaw::getMotorPosition");
+ return NAN;
}
}
@@ -195,8 +195,8 @@ float RoboClaw::getMotorSpeed(e_motor motor)
} else if (motor == MOTOR_2) {
return _motor2Speed;
} else {
- warnx("Unknown motor value passed to RoboClaw::getMotorPosition");
- return NAN;
+ warnx("Unknown motor value passed to RoboClaw::getMotorPosition");
+ return NAN;
}
}