diff --git a/src/Vehicle/Vehicle.cc b/src/Vehicle/Vehicle.cc index 495438e62aaaa7a68dc5ee2493f5481629f345f6..6005a902c2b1d0187a3ba4b38db84e85f11dadd2 100644 --- a/src/Vehicle/Vehicle.cc +++ b/src/Vehicle/Vehicle.cc @@ -916,9 +916,9 @@ void Vehicle::_handleHilActuatorControls(mavlink_message_t &message) void Vehicle::_handleCommandLong(mavlink_message_t& message) { -#ifdef __ios__ +#ifdef NO_SERIAL_LINK + // If not using serial link, bail out. Q_UNUSED(message) - // iOS has no serial links #else mavlink_command_long_t cmd; mavlink_msg_command_long_decode(&message, &cmd);