Skip to content

Commit 032a71e

Browse files
committed
fix: Address CodeRabbit review findings
1 parent bfbaf93 commit 032a71e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/tabs/ConfigurationTab.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ import GUI from "../../js/gui";
518518
import FC from "../../js/fc";
519519
import MSP from "../../js/msp";
520520
import MSPCodes from "../../js/msp/MSPCodes";
521-
import mspHelper from "../../js/msp/mspHelper";
521+
import mspHelper from "../../js/msp/MSPHelper";
522522
import { i18n } from "../../js/localization";
523523
import { sensorTypes } from "../../js/sensor_types"; // Import for dropdown lists
524524
import { have_sensor } from "../../js/sensor_helpers";
@@ -781,7 +781,7 @@ export default defineComponent({
781781
782782
// Gyro Frequency Logic
783783
updateGyroDenom(FC.CONFIG.sampleRateHz);
784-
updateGyroDenom(FC.CONFIG.sampleRateHz);
784+
785785
updatePidDenomOptions();
786786
787787
// Load DShot Tone
@@ -825,6 +825,7 @@ export default defineComponent({
825825
hasDualGyros.value = (flags & GYRO_DETECTION_FLAGS.DETECTED_DUAL_GYROS) !== 0;
826826
827827
showGyro2Align.value = hasSecondGyro.value;
828+
showGyro1Align.value = true;
828829
// Legacy logic toggles alignment inputs based on detected gyros
829830
830831
// Mag Declination
@@ -937,6 +938,7 @@ export default defineComponent({
937938
938939
return {
939940
pidAdvancedConfig,
941+
sensorConfig,
940942
accHardwareEnabled,
941943
baroHardwareEnabled,
942944
magHardwareEnabled,

0 commit comments

Comments
 (0)