Baro: fix compile warning re member init order

This commit is contained in:
Tom Pittenger 2015-04-24 14:13:02 +09:00 committed by Randy Mackay
parent 16e71ec1ce
commit 4191c44bbd

View File

@ -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;
};