mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
Copter: fixed some build warnings
This commit is contained in:
parent
56752f4027
commit
28d98414e7
@ -1105,7 +1105,8 @@ GCS_MAVLINK::send_text_P(gcs_severity severity, const prog_char_t *str)
|
||||
|
||||
void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
||||
{
|
||||
struct Location tell_command = {}; // command for telemetry
|
||||
struct Location tell_command;
|
||||
memset(&tell_command, 0, sizeof(tell_command));
|
||||
|
||||
switch (msg->msgid) {
|
||||
|
||||
|
@ -379,11 +379,12 @@ public:
|
||||
RC_Channel_aux rc_6;
|
||||
RC_Channel_aux rc_7;
|
||||
RC_Channel_aux rc_8;
|
||||
RC_Channel_aux rc_10;
|
||||
RC_Channel_aux rc_11;
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
RC_Channel_aux rc_9;
|
||||
#endif
|
||||
RC_Channel_aux rc_10;
|
||||
RC_Channel_aux rc_11;
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
RC_Channel_aux rc_12;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user