mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_PiccoloCAN: allow more libraries to compile with no HAL_GCS_ENABLED
This commit is contained in:
parent
85652f69e9
commit
ba96789b70
@ -399,6 +399,7 @@ void AP_PiccoloCAN::update()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if HAL_GCS_ENABLED
|
||||||
// send ESC telemetry messages over MAVLink
|
// send ESC telemetry messages over MAVLink
|
||||||
void AP_PiccoloCAN::send_esc_telemetry_mavlink(uint8_t mav_chan)
|
void AP_PiccoloCAN::send_esc_telemetry_mavlink(uint8_t mav_chan)
|
||||||
{
|
{
|
||||||
@ -473,7 +474,7 @@ void AP_PiccoloCAN::send_esc_telemetry_mavlink(uint8_t mav_chan)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// send servo messages over CAN
|
// send servo messages over CAN
|
||||||
void AP_PiccoloCAN::send_servo_messages(void)
|
void AP_PiccoloCAN::send_servo_messages(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user