1
0
Fork 0
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:
Konstantin Sharlaimov 2019-10-26 16:15:00 +02:00 committed by GitHub
commit 51da88d26c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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