1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 01:05:21 +03:00

fixed typo

This commit is contained in:
Roman Lut 2022-06-26 09:18:48 +03:00
parent 1f41db14a5
commit 0906f4241b

View file

@ -4305,7 +4305,7 @@ textAttributes_t osdGetSystemMessage(char *buff, size_t buff_size, bool isCenter
// Countdown display for RTH minutes
char buf[6];
osdFormatDistanceSymbol(buf, GPS_distanceToHome * 60 * 60 * 3.6/ gpsSol.groundSpeed , 0);
tfp_sprintf(messageBuf, "EN ROUTE TO HOME (%)", buf);
tfp_sprintf(messageBuf, "EN ROUTE TO HOME (%s)", buf);
messages[messageCount++] = messageBuf;
} else if (NAV_Status.state == MW_NAV_STATE_HOLD_TIMED) {
if (navConfig()->general.flags.waypoint_enforce_altitude && !posControl.wpAltitudeReached) {