Skip to content

Commit

Permalink
change setting name
Browse files Browse the repository at this point in the history
  • Loading branch information
breadoven committed Apr 22, 2024
1 parent f6386c3 commit 588e693
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions src/main/cms/cms_menu_imu.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,8 @@ static const OSD_Entry cmsx_menuMechanicsEntries[] =
OSD_SETTING_ENTRY("ITERM RELAX", SETTING_MC_ITERM_RELAX),
OSD_SETTING_ENTRY("ITERM CUTOFF", SETTING_MC_ITERM_RELAX_CUTOFF),
OSD_SETTING_ENTRY("CD LPF", SETTING_MC_CD_LPF_HZ),
OSD_SETTING_ENTRY("MC DTERM ATT START", SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_START_SPEED),
OSD_SETTING_ENTRY("MC DTERM ATT END", SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_END_SPEED),

OSD_BACK_AND_END_ENTRY,
};
Expand Down
8 changes: 4 additions & 4 deletions src/main/fc/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2058,14 +2058,14 @@ groups:
max: 100
default_value: 90
# CR47
- name: nav_mc_vel_xy_dterm_attenuation_start
description: "Horizontal velocity where nav_mc_vel_xy_dterm_attenuation begins [m/s]"
- name: nav_mc_vel_xy_dterm_attenuation_start_speed
description: "Horizontal speed at which nav_mc_vel_xy_dterm_attenuation begins [m/s]"
default_value: 5
field: navVelXyDtermAttenuationStart
min: 0
max: 100
- name: nav_mc_vel_xy_dterm_attenuation_end
description: "Horizontal velocity where nav_mc_vel_xy_dterm_attenuation reaches maximum [m/s]"
- name: nav_mc_vel_xy_dterm_attenuation_end_speed
description: "Horizontal speed at which nav_mc_vel_xy_dterm_attenuation reaches maximum [m/s]"
default_value: 10
field: navVelXyDtermAttenuationEnd
min: 0
Expand Down
4 changes: 2 additions & 2 deletions src/main/flight/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ PG_RESET_TEMPLATE(pidProfile_t, pidProfile,

.navVelXyDTermLpfHz = SETTING_NAV_MC_VEL_XY_DTERM_LPF_HZ_DEFAULT,
.navVelXyDtermAttenuation = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_DEFAULT,
.navVelXyDtermAttenuationStart = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_START_DEFAULT,
.navVelXyDtermAttenuationEnd = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_END_DEFAULT,
.navVelXyDtermAttenuationStart = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_START_SPEED_DEFAULT,
.navVelXyDtermAttenuationEnd = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_END_SPEED_DEFAULT,
.iterm_relax_cutoff = SETTING_MC_ITERM_RELAX_CUTOFF_DEFAULT,
.iterm_relax = SETTING_MC_ITERM_RELAX_DEFAULT,

Expand Down

0 comments on commit 588e693

Please sign in to comment.