Browse Source

Sub: correct unused expression compilation failure

c415-sdk
Peter Barker 5 years ago committed by Andrew Tridgell
parent
commit
a37df08277
  1. 2
      ArduSub/control_motordetect.cpp

2
ArduSub/control_motordetect.cpp

@ -82,7 +82,7 @@ void Sub::motordetect_run() @@ -82,7 +82,7 @@ void Sub::motordetect_run()
// Force all motors to stop
for (uint8_t i=0; i <AP_MOTORS_MAX_NUM_MOTORS; 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

Loading…
Cancel
Save