1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +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:
Bruce Luckcuck 2020-10-07 08:47:32 -04:00
parent b085bf77ab
commit a4ce46779e

View file

@ -320,7 +320,7 @@ void osdFormatDistanceString(char *ptr, int distance, char leadingSymbol)
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