AP_ADSB: fix ADSB_STATIC_CALLSIGN

This commit is contained in:
Tom Pittenger 2023-01-24 11:32:09 -08:00 committed by Andrew Tridgell
parent 70b77f0f7d
commit 792ad6b5fc

View File

@ -180,7 +180,7 @@ AP_ADSB::AP_ADSB()
_singleton = this;
#ifdef ADSB_STATIC_CALLSIGN
strncpy(&out_state.cfg.callsign, ADSB_STATIC_CALLSIGN, sizeof(out_state.cfg.callsign));
strncpy(out_state.cfg.callsign, ADSB_STATIC_CALLSIGN, sizeof(out_state.cfg.callsign));
#endif
}