1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Merge pull request #8035 from krzysztofmatula/km-sym-amp

OSD: use nice AMP symbol in post flight stats instead of ordinary "A"
This commit is contained in:
Michael Keller 2019-04-19 14:04:42 +12:00 committed by GitHub
commit eba5856654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -565,8 +565,7 @@ static uint8_t osdShowStats(uint16_t endBatteryVoltage, int statsRowCount)
if (batteryConfig()->currentMeterSource != CURRENT_METER_NONE) {
if (osdStatGetState(OSD_STAT_MAX_CURRENT)) {
itoa(stats.max_current, buff, 10);
strcat(buff, "A");
tfp_sprintf(buff, "%d%c", stats.max_current, SYM_AMP);
osdDisplayStatisticLabel(top++, "MAX CURRENT", buff);
}