From 3614a8e6342604c8f32ecddf7d7930f145144fb6 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Tue, 5 Jul 2022 04:08:57 +0100 Subject: [PATCH] Rover: params always use set method --- Rover/motor_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;