mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
AP_ADSB: Fix some typos
Fixed some typos found in the code.
This commit is contained in:
parent
80e052e1e9
commit
cfeaf47239
@ -103,7 +103,7 @@ const AP_Param::GroupInfo AP_ADSB::var_info[] = {
|
||||
|
||||
// @Param: OFFSET_LAT
|
||||
// @DisplayName: GPS antenna lateral offset
|
||||
// @Description: GPS antenna lateral offset. This describes the physical location offest from center of the GPS antenna on the aircraft.
|
||||
// @Description: GPS antenna lateral offset. This describes the physical location offset from center of the GPS antenna on the aircraft.
|
||||
// @Values: 0:NoData,1:Left2m,2:Left4m,3:Left6m,4:Center,5:Right2m,6:Right4m,7:Right6m
|
||||
// @User: Advanced
|
||||
AP_GROUPINFO("OFFSET_LAT", 7, AP_ADSB, out_state.cfg.gpsOffsetLat, UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT_RIGHT_0M),
|
||||
|
@ -155,7 +155,7 @@ public:
|
||||
static uint32_t convert_base_to_decimal(const uint8_t baseIn, uint32_t inputNumber);
|
||||
|
||||
// Trigger a Mode 3/A transponder IDENT. This should only be done when requested to do so by an Air Traffic Controller.
|
||||
// See wikipedia for IDENT explaination https://en.wikipedia.org/wiki/Transponder_(aeronautics)
|
||||
// See wikipedia for IDENT explanation https://en.wikipedia.org/wiki/Transponder_(aeronautics)
|
||||
bool ident_start() {
|
||||
if (!healthy() || ((out_state.cfg.rfSelect & UAVIONIX_ADSB_OUT_RF_SELECT_TX_ENABLED) == 0)) {
|
||||
return false;
|
||||
|
@ -140,7 +140,7 @@ void AP_ADSB_uAvionix_MAVLink::send_dynamic_out(const mavlink_channel_t chan) co
|
||||
/*
|
||||
* To expand functionality in their HW, uAvionix has extended a few of the unused MAVLink bits to pack in more new features
|
||||
* This function will override the MSB byte of the 24bit ICAO address. To ensure an invalid >24bit ICAO is never broadcasted,
|
||||
* this function is used to create the encoded verison without ever writing to the actual ICAO number. It's created on-demand
|
||||
* this function is used to create the encoded version without ever writing to the actual ICAO number. It's created on-demand
|
||||
*/
|
||||
uint32_t AP_ADSB_uAvionix_MAVLink::encode_icao(const uint32_t icao_id) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user