From 319623e59db3e7ec30081c99ee488759391e5b8f Mon Sep 17 00:00:00 2001 From: lm Date: Thu, 13 Jan 2011 22:16:46 +0100 Subject: [PATCH] Fixed include guard --- src/uas/SlugsMAV.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/uas/SlugsMAV.h b/src/uas/SlugsMAV.h index 435a041bd1..7acd1fdd9c 100644 --- a/src/uas/SlugsMAV.h +++ b/src/uas/SlugsMAV.h @@ -36,17 +36,15 @@ class SlugsMAV : public UAS public: SlugsMAV(MAVLinkProtocol* mavlink, int id = 0); -#ifdef MAVLINK_ENABLED_SLUGS - mavlink_pwm_commands_t* getPwmCommands(); -#endif - public slots: /** @brief Receive a MAVLink message from this MAV */ void receiveMessage(LinkInterface* link, mavlink_message_t message); void emitSignals (void); +#ifdef MAVLINK_ENABLED_SLUGS mavlink_pwm_commands_t* getPwmCommands(); +#endif signals: -- GitLab