From 3999ab1f458b2b098964d9fe79b1872b623acb53 Mon Sep 17 00:00:00 2001 From: Error414 Date: Sat, 10 Jan 2026 13:58:02 +0100 Subject: [PATCH] remove unused setting --- docs/Settings.md | 10 ---------- src/main/blackbox/blackbox.c | 1 - src/main/blackbox/blackbox.h | 1 - src/main/fc/settings.yaml | 6 ------ 4 files changed, 18 deletions(-) diff --git a/docs/Settings.md b/docs/Settings.md index 4e577bbedd5..9ec7f87b894 100644 --- a/docs/Settings.md +++ b/docs/Settings.md @@ -6012,16 +6012,6 @@ SBUS sync interval in us. Default value is 3000us. Lower values may cause issues --- -### sdcard_detect_inverted - -This setting drives the way SD card is detected in card slot. On some targets (AnyFC F7 clone) different card slot was used and depending of hardware revision ON or OFF setting might be required. If card is not detected, change this value. - -| Default | Min | Max | -| --- | --- | --- | -| _target default_ | | | - ---- - ### serialrx_halfduplex Allow serial receiver to operate on UART TX pin. With some receivers will allow control and telemetry over a single wire. diff --git a/src/main/blackbox/blackbox.c b/src/main/blackbox/blackbox.c index e4c2afb3eec..0c271f6898e 100644 --- a/src/main/blackbox/blackbox.c +++ b/src/main/blackbox/blackbox.c @@ -105,7 +105,6 @@ PG_RESET_TEMPLATE(blackboxConfig_t, blackboxConfig, .device = DEFAULT_BLACKBOX_DEVICE, .rate_num = SETTING_BLACKBOX_RATE_NUM_DEFAULT, .rate_denom = SETTING_BLACKBOX_RATE_DENOM_DEFAULT, - .invertedCardDetection = BLACKBOX_INVERTED_CARD_DETECTION, .arm_control = SETTING_BLACKBOX_ARM_CONTROL_DEFAULT, .includeFlags = BLACKBOX_FEATURE_NAV_PID | BLACKBOX_FEATURE_NAV_POS | BLACKBOX_FEATURE_MAG | BLACKBOX_FEATURE_ACC | BLACKBOX_FEATURE_ATTITUDE | diff --git a/src/main/blackbox/blackbox.h b/src/main/blackbox/blackbox.h index 1901201fa22..d01b4d43611 100644 --- a/src/main/blackbox/blackbox.h +++ b/src/main/blackbox/blackbox.h @@ -57,7 +57,6 @@ typedef struct blackboxConfig_s { uint16_t rate_num; uint16_t rate_denom; uint8_t device; - uint8_t invertedCardDetection; uint32_t includeFlags; int8_t arm_control; } blackboxConfig_t; diff --git a/src/main/fc/settings.yaml b/src/main/fc/settings.yaml index 1e1932531e5..f6c8b92d78e 100644 --- a/src/main/fc/settings.yaml +++ b/src/main/fc/settings.yaml @@ -817,12 +817,6 @@ groups: default_value: :target field: device table: blackbox_device - - name: sdcard_detect_inverted - description: "This setting drives the way SD card is detected in card slot. On some targets (AnyFC F7 clone) different card slot was used and depending of hardware revision ON or OFF setting might be required. If card is not detected, change this value." - default_value: :target - field: invertedCardDetection - condition: USE_SDCARD - type: bool - name: blackbox_arm_control description: "Determines behaviour of logging in relation to Arm state. For settings from 0 to 60 logging will start on Arm with the setting determining how long logging will continue after disarm in seconds, i.e. set to 0 to stop logging at disarm or 10 to stop logging 10s after disarm. Set to -1 to start logging from boot up until power off (Use with caution - mainly for debugging and best used with BLACKBOX mode)." default_value: 0