Really fixed OSD G Symbol
This commit is contained in:
parent
d0be9578e3
commit
c9df378dcc
|
@ -697,7 +697,7 @@ static bool osdDrawSingleElement(uint8_t item)
|
|||
osdGForce += a * a;
|
||||
}
|
||||
osdGForce = sqrtf(osdGForce) / acc.dev.acc_1G;
|
||||
tfp_sprintf(buff, "%01d.%01d%c", (int)osdGForce, (int)(osdGForce * 10) % 10, "g");
|
||||
tfp_sprintf(buff, "%01d.%01d%s", (int)osdGForce, (int)(osdGForce * 10) % 10, "G");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue