mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Notify: fixed build warning
This commit is contained in:
parent
4886ffbf8a
commit
7d2e3c0d04
@ -495,7 +495,7 @@ void Display::update_gps(uint8_t r)
|
||||
fixname = gpsfixname[0];
|
||||
break;
|
||||
}
|
||||
snprintf(msg, DISPLAY_MESSAGE_SIZE, "GPS:%-5s Sats:%2u", fixname, AP_Notify::flags.gps_num_sats) ;
|
||||
snprintf(msg, DISPLAY_MESSAGE_SIZE, "GPS:%-5s Sats:%2u", fixname, (unsigned)AP_Notify::flags.gps_num_sats) ;
|
||||
draw_text(COLUMN(0), ROW(r), msg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user