mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Added separate yaw pidsum limit
This commit is contained in:
parent
52c104f4b8
commit
9e4de2ea3b
8 changed files with 12 additions and 16 deletions
|
@ -343,7 +343,6 @@ static uint16_t cmsx_dterm_lpf_hz;
|
|||
static uint16_t cmsx_dterm_notch_hz;
|
||||
static uint16_t cmsx_dterm_notch_cutoff;
|
||||
static uint16_t cmsx_yaw_lpf_hz;
|
||||
static uint16_t cmsx_yaw_p_limit;
|
||||
|
||||
static long cmsx_FilterPerProfileRead(void)
|
||||
{
|
||||
|
@ -352,7 +351,6 @@ static long cmsx_FilterPerProfileRead(void)
|
|||
cmsx_dterm_notch_hz = pidProfile->dterm_notch_hz;
|
||||
cmsx_dterm_notch_cutoff = pidProfile->dterm_notch_cutoff;
|
||||
cmsx_yaw_lpf_hz = pidProfile->yaw_lpf_hz;
|
||||
cmsx_yaw_p_limit = pidProfile->yaw_p_limit;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -366,7 +364,6 @@ static long cmsx_FilterPerProfileWriteback(const OSD_Entry *self)
|
|||
pidProfile->dterm_notch_hz = cmsx_dterm_notch_hz;
|
||||
pidProfile->dterm_notch_cutoff = cmsx_dterm_notch_cutoff;
|
||||
pidProfile->yaw_lpf_hz = cmsx_yaw_lpf_hz;
|
||||
pidProfile->yaw_p_limit = cmsx_yaw_p_limit;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -379,7 +376,6 @@ static OSD_Entry cmsx_menuFilterPerProfileEntries[] =
|
|||
{ "DTERM NF", OME_UINT16, NULL, &(OSD_UINT16_t){ &cmsx_dterm_notch_hz, 0, 500, 1 }, 0 },
|
||||
{ "DTERM NFCO", OME_UINT16, NULL, &(OSD_UINT16_t){ &cmsx_dterm_notch_cutoff, 0, 500, 1 }, 0 },
|
||||
{ "YAW LPF", OME_UINT16, NULL, &(OSD_UINT16_t){ &cmsx_yaw_lpf_hz, 0, 500, 1 }, 0 },
|
||||
{ "YAW P LIM", OME_UINT16, NULL, &(OSD_UINT16_t){ &cmsx_yaw_p_limit, 100, 500, 1 }, 0 },
|
||||
|
||||
{ "BACK", OME_Back, NULL, NULL, 0 },
|
||||
{ NULL, OME_END, NULL, NULL, 0 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue