AP_ADSB: Access snprintf from hal

This commit is contained in:
Gone4Dirt 2020-11-10 15:38:58 +00:00 committed by Peter Barker
parent 4990048efb
commit 9d90d16c2b
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ void AP_ADSB::set_callsign(const char* str, const bool append_icao)
} // for i
if (append_icao) {
snprintf(&out_state.cfg.callsign[4], 5, "%04X", unsigned(out_state.cfg.ICAO_id % 0x10000));
hal.util->snprintf(&out_state.cfg.callsign[4], 5, "%04X", unsigned(out_state.cfg.ICAO_id % 0x10000));
}
}