mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 08:53:56 -04:00
Notify: Display: pad GPS status/sat count to fix stray chars
This commit is contained in:
parent
f972fed70b
commit
da03cf29d6
@ -452,7 +452,7 @@ void Display::update_gps(uint8_t r)
|
|||||||
fixname = gpsfixname[0];
|
fixname = gpsfixname[0];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
snprintf(msg, DISPLAY_MESSAGE_SIZE, "GPS:%s Sats:%u", fixname, AP_Notify::flags.gps_num_sats) ;
|
snprintf(msg, DISPLAY_MESSAGE_SIZE, "GPS:%-5s Sats:%2u", fixname, AP_Notify::flags.gps_num_sats) ;
|
||||||
draw_text(COLUMN(0), ROW(r), msg);
|
draw_text(COLUMN(0), ROW(r), msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user