From 5f3d8f7a48a009f570ba2051145206c1a11a2fc2 Mon Sep 17 00:00:00 2001 From: messi Date: Tue, 31 Jul 2018 15:36:58 +0800 Subject: [PATCH] missing { --- mavlink_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mavlink_helpers.h b/mavlink_helpers.h index 310785bd3..9f5dd5576 100644 --- a/mavlink_helpers.h +++ b/mavlink_helpers.h @@ -840,7 +840,7 @@ MAVLINK_HELPER uint8_t mavlink_frame_char_buffer(mavlink_message_t* rxmsg, mavlink_msg_to_send_buffer() won't overwrite the checksum */ - if (NULL != r_message) + if (NULL != r_message){ r_message->checksum = rxmsg->ck[0] | (rxmsg->ck[1]<<8); } }