mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
Add feedforward to OSD PID elements
Elements were never updated and only displayed the P, I and D gains.
This commit is contained in:
parent
b085bf77ab
commit
a4ce46779e
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ void osdFormatDistanceString(char *ptr, int distance, char leadingSymbol)
|
||||||
|
|
||||||
static void osdFormatPID(char * buff, const char * label, const pidf_t * pid)
|
static void osdFormatPID(char * buff, const char * label, const pidf_t * pid)
|
||||||
{
|
{
|
||||||
tfp_sprintf(buff, "%s %3d %3d %3d", label, pid->P, pid->I, pid->D);
|
tfp_sprintf(buff, "%s %3d %3d %3d %3d", label, pid->P, pid->I, pid->D, pid->F);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_RTC_TIME
|
#ifdef USE_RTC_TIME
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue