mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 07:13:33 +08:00
More tab fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user