diff --git a/libraries/AP_Baro/AP_Baro_MS5611.h b/libraries/AP_Baro/AP_Baro_MS5611.h index bbfbbb1edb..b02d514fa9 100644 --- a/libraries/AP_Baro/AP_Baro_MS5611.h +++ b/libraries/AP_Baro/AP_Baro_MS5611.h @@ -49,8 +49,8 @@ public: void sem_give(); private: - enum AP_HAL::SPIDeviceDriver::bus_speed _speed; enum AP_HAL::SPIDevice _device; + enum AP_HAL::SPIDeviceDriver::bus_speed _speed; AP_HAL::SPIDeviceDriver *_spi; AP_HAL::Semaphore *_spi_sem; };