Commit d3e4ef29 authored by Don Gagne's avatar Don Gagne

Add const

parent 924bbf8e
......@@ -263,7 +263,7 @@ void Vehicle::_sendMessage(mavlink_message_t message)
// Give the plugin a chance to adjust
static uint8_t messageKeys[256] = MAVLINK_MESSAGE_CRCS;
static const uint8_t messageKeys[256] = MAVLINK_MESSAGE_CRCS;
mavlink_finalize_message_chan(&message, mavlink->getSystemId(), mavlink->getComponentId(), link->getMavlinkChannel(), message.len, messageKeys[message.msgid]);
// Write message into buffer, prepending start sign
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