radio_status: change 'fixed' field name to 'fix' so it does not clash with 'fixed' floating-point notation on the IDL generation

This commit is contained in:
TSC21 2018-10-03 10:46:52 +01:00 committed by Beat Küng
parent 2767f47891
commit 3228e494bd
3 changed files with 3 additions and 3 deletions

View File

@ -10,4 +10,4 @@ uint8 noise # background noise level
uint8 remote_noise # remote background noise level
uint16 rxerrors # receive errors
uint16 fixed # count of error corrected packets
uint16 fix # count of error corrected packets

View File

@ -2807,7 +2807,7 @@ Mavlink::display_status()
printf("\t noise:\t%d\n", _rstatus.noise);
printf("\t remote noise:\t%u\n", _rstatus.remote_noise);
printf("\t rx errors:\t%u\n", _rstatus.rxerrors);
printf("\t fixed:\t%u\n", _rstatus.fixed);
printf("\t fixed:\t%u\n", _rstatus.fix);
break;
case telemetry_status_s::TELEMETRY_STATUS_RADIO_TYPE_USB:

View File

@ -1504,7 +1504,7 @@ MavlinkReceiver::handle_message_radio_status(mavlink_message_t *msg)
status.noise = rstatus.noise;
status.remote_noise = rstatus.remnoise;
status.rxerrors = rstatus.rxerrors;
status.fixed = rstatus.fixed;
status.fix = rstatus.fixed;
_mavlink->update_radio_status(status);