mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +03:00
Merge pull request #5163 from iNavFlight/de_rpm_k_fix
[OSD] Fix low-case K in RPM
This commit is contained in:
commit
51da88d26c
1 changed files with 1 additions and 1 deletions
|
@ -889,7 +889,7 @@ static void osdFormatRpm(char *buff, uint32_t rpm)
|
|||
buff[1] = SYM_THR;
|
||||
if (rpm) {
|
||||
if (rpm >= 1000) {
|
||||
tfp_sprintf(buff + 2, "%2luk", rpm / 1000);
|
||||
tfp_sprintf(buff + 2, "%2luK", rpm / 1000);
|
||||
}
|
||||
else {
|
||||
tfp_sprintf(buff + 2, "%3lu", rpm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue