mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Merge branch 'master' into navigator_rewrite_estimator
This commit is contained in:
commit
11fa104a2a
@ -1392,6 +1392,7 @@ protected:
|
||||
// New message
|
||||
mavlink_msg_rc_channels_send(_channel,
|
||||
rc.timestamp_publication / 1000,
|
||||
rc.channel_count,
|
||||
((rc.channel_count > 0) ? rc.values[0] : UINT16_MAX),
|
||||
((rc.channel_count > 1) ? rc.values[1] : UINT16_MAX),
|
||||
((rc.channel_count > 2) ? rc.values[2] : UINT16_MAX),
|
||||
@ -1410,7 +1411,6 @@ protected:
|
||||
((rc.channel_count > 15) ? rc.values[15] : UINT16_MAX),
|
||||
((rc.channel_count > 16) ? rc.values[16] : UINT16_MAX),
|
||||
((rc.channel_count > 17) ? rc.values[17] : UINT16_MAX),
|
||||
rc.channel_count,
|
||||
rc.rssi);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user