Rover: params always use set method

This commit is contained in:
Iampete1 2022-07-05 04:08:57 +01:00 committed by Peter Hall
parent ed094ffc6b
commit 3614a8e634

View File

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