mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: correct unused expression compilation failure
This commit is contained in:
parent
0afdee5105
commit
a37df08277
@ -82,7 +82,7 @@ void Sub::motordetect_run()
|
|||||||
// Force all motors to stop
|
// Force all motors to stop
|
||||||
for (uint8_t i=0; i <AP_MOTORS_MAX_NUM_MOTORS; i++) {
|
for (uint8_t i=0; i <AP_MOTORS_MAX_NUM_MOTORS; i++) {
|
||||||
if (motors.motor_is_enabled(i)) {
|
if (motors.motor_is_enabled(i)) {
|
||||||
!motors.output_test_num(i, 1500);
|
motors.output_test_num(i, 1500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// wait until gyro product is under a certain(experimental) threshold
|
// wait until gyro product is under a certain(experimental) threshold
|
||||||
|
Loading…
Reference in New Issue
Block a user