mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Gripper: minor comment fix
This commit is contained in:
parent
f1c05ee320
commit
5d0be2de9f
@ -32,7 +32,7 @@ bool AP_Gripper_Servo::has_state_pwm(const uint16_t pwm) const
|
|||||||
}
|
}
|
||||||
if (current_pwm != pwm) {
|
if (current_pwm != pwm) {
|
||||||
// last action did not set pwm to the current value
|
// last action did not set pwm to the current value
|
||||||
// (e.g. last action was a grabm not a release)
|
// (e.g. last action was a grab not a release)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (AP_HAL::millis() - action_timestamp < action_time) {
|
if (AP_HAL::millis() - action_timestamp < action_time) {
|
||||||
|
Loading…
Reference in New Issue
Block a user