From 18587e15048abc5702fc427fadda08b6e6450e74 Mon Sep 17 00:00:00 2001 From: Kevin Plaizier <46289813+Quick-Flash@users.noreply.github.com> Date: Wed, 29 Mar 2023 15:48:51 -0600 Subject: [PATCH] Remove code comments using word retarded (#12592) Remove comments using word retarded Correct the comment about gyro_cal_on_first_arm and remove comment about retarded arm. --- src/main/fc/rc_controls.c | 2 +- src/main/fc/rc_controls.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/fc/rc_controls.c b/src/main/fc/rc_controls.c index 2191b53ef7..842efa02cf 100644 --- a/src/main/fc/rc_controls.c +++ b/src/main/fc/rc_controls.c @@ -85,7 +85,7 @@ PG_RESET_TEMPLATE(rcControlsConfig_t, rcControlsConfig, PG_REGISTER_WITH_RESET_TEMPLATE(armingConfig_t, armingConfig, PG_ARMING_CONFIG, 1); PG_RESET_TEMPLATE(armingConfig_t, armingConfig, - .gyro_cal_on_first_arm = 0, // TODO - Cleanup retarded arm support + .gyro_cal_on_first_arm = 0, .auto_disarm_delay = 5 ); diff --git a/src/main/fc/rc_controls.h b/src/main/fc/rc_controls.h index cb25a9d269..74f7565987 100644 --- a/src/main/fc/rc_controls.h +++ b/src/main/fc/rc_controls.h @@ -131,7 +131,7 @@ typedef struct flight3DConfig_s { PG_DECLARE(flight3DConfig_t, flight3DConfig); typedef struct armingConfig_s { - uint8_t gyro_cal_on_first_arm; // allow disarm/arm on throttle down + roll left/right + uint8_t gyro_cal_on_first_arm; // calibrate the gyro right before the first arm uint8_t auto_disarm_delay; // allow automatically disarming multicopters after auto_disarm_delay seconds of zero throttle. Disabled when 0 } armingConfig_t;