Sub: correct unused expression compilation failure

This commit is contained in:
Peter Barker 2020-01-09 21:27:12 +11:00 committed by Andrew Tridgell
parent 0afdee5105
commit a37df08277

View File

@ -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