diff --git a/Rover/motor_test.cpp b/Rover/motor_test.cpp index 549f3f82da..eaca91d72c 100644 --- a/Rover/motor_test.cpp +++ b/Rover/motor_test.cpp @@ -130,9 +130,9 @@ MAV_RESULT Rover::mavlink_motor_test_start(const GCS_MAVLINK &gcs_chan, AP_Motor } // disable failsafes - g.fs_gcs_enabled = 0; - g.fs_throttle_enabled = 0; - g.fs_crash_check = 0; + g.fs_gcs_enabled.set(0); + g.fs_throttle_enabled.set(0); + g.fs_crash_check.set(0); // turn on notify leds AP_Notify::flags.esc_calibration = true;