HIL driver: Fix build breakage

This commit is contained in:
Lorenz Meier
2015-07-02 11:19:57 +02:00
parent 1cb572f484
commit ce439345c5
+3 -2
View File
@@ -123,7 +123,7 @@ private:
bool _primary_pwm_device;
volatile bool _task_should_exit;
bool _armed;
static bool _armed;
MixerGroup *_mixers;
@@ -163,6 +163,8 @@ HIL *g_hil;
} // namespace
bool HIL::_armed = false;
HIL::HIL() :
#ifdef __PX4_NUTTX
CDev
@@ -180,7 +182,6 @@ HIL::HIL() :
_num_outputs(0),
_primary_pwm_device(false),
_task_should_exit(false),
_armed(false),
_mixers(nullptr)
{
_debug_enabled = true;