AP_ADSB: fix ADSB_STATIC_CALLSIGN
This commit is contained in:
parent
70b77f0f7d
commit
792ad6b5fc
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user