Commit 23755647 authored by Gus Grubba's avatar Gus Grubba

It's not just iOS that excludes serial link.

parent e6a60628
...@@ -916,9 +916,9 @@ void Vehicle::_handleHilActuatorControls(mavlink_message_t &message) ...@@ -916,9 +916,9 @@ void Vehicle::_handleHilActuatorControls(mavlink_message_t &message)
void Vehicle::_handleCommandLong(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) Q_UNUSED(message)
// iOS has no serial links
#else #else
mavlink_command_long_t cmd; mavlink_command_long_t cmd;
mavlink_msg_command_long_decode(&message, &cmd); mavlink_msg_command_long_decode(&message, &cmd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment