mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Notify: Represent the base of ASCII numeric code with letters.
This commit is contained in:
parent
1a34221db9
commit
315f7c6a9a
@ -459,8 +459,8 @@ void Display::update_gps(uint8_t r)
|
||||
void Display::update_gps_sats(uint8_t r)
|
||||
{
|
||||
draw_text(COLUMN(0), ROW(r), "Sats:");
|
||||
draw_char(COLUMN(8), ROW(r), (AP_Notify::flags.gps_num_sats / 10) + 48);
|
||||
draw_char(COLUMN(9), ROW(r), (AP_Notify::flags.gps_num_sats % 10) + 48);
|
||||
draw_char(COLUMN(8), ROW(r), (AP_Notify::flags.gps_num_sats / 10) + '0');
|
||||
draw_char(COLUMN(9), ROW(r), (AP_Notify::flags.gps_num_sats % 10) + '0');
|
||||
}
|
||||
|
||||
void Display::update_ekf(uint8_t r)
|
||||
|
Loading…
Reference in New Issue
Block a user