From 31c5e3b9e27c6b33155da5f3c39b994357990f01 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 14 Feb 2014 18:01:10 +0100 Subject: [PATCH] Removed include guard preventing message parsing --- src/uas/UAS.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index 6aa4258a7..f83cbd662 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -1242,7 +1242,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message) } break; #endif -#ifdef MAVLINK_ENABLED_PIXHAWK + case MAVLINK_MSG_ID_DATA_TRANSMISSION_HANDSHAKE: { mavlink_data_transmission_handshake_t p; @@ -1296,8 +1296,6 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message) break; - -#endif // case MAVLINK_MSG_ID_OBJECT_DETECTION_EVENT: // { // mavlink_object_detection_event_t event; -- 2.22.0