AP_InertialSensor: remove unused enum bus_speed

The methods actually use the enum from AP_HAL::SPIDeviceDriver, so don't
declare a new one. The I2C implementation is empty; if we actually start
to use it we'd better move the bus abstraction to HAL.
This commit is contained in:
Lucas De Marchi 2015-07-25 14:36:20 -03:00 committed by Randy Mackay
parent 1c3728a585
commit 886b302019

View File

@ -34,9 +34,6 @@ public:
virtual void init(bool &fifo_mode, uint8_t &max_samples) = 0;
virtual void read8(uint8_t reg, uint8_t *val) = 0;
virtual void write8(uint8_t reg, uint8_t val) = 0;
enum bus_speed {
SPEED_LOW, SPEED_HIGH
};
virtual void set_bus_speed(AP_HAL::SPIDeviceDriver::bus_speed speed) = 0;
virtual void read_burst(uint8_t* samples,
AP_HAL::DigitalSource *_drdy_pin,