Really fixed OSD G Symbol

This commit is contained in:
leocb 2018-07-16 08:36:02 -03:00
parent d0be9578e3
commit c9df378dcc
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}