mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Fixed OSD G-force symbol as suggested
This commit is contained in:
parent
c9df378dcc
commit
4def6e3281
1 changed files with 1 additions and 1 deletions
|
@ -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%s", (int)osdGForce, (int)(osdGForce * 10) % 10, "G");
|
||||
tfp_sprintf(buff, "%01d.%01dG", (int)osdGForce, (int)(osdGForce * 10) % 10);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue