HAL: Add two new SPI devices

SPIDevice_LSM303D and SPIDevice_L3GD20 added to the enum.
The code has also been formated.
This commit is contained in:
Víctor Mayoral Vilches 2014-07-16 16:57:49 +02:00 committed by Andrew Tridgell
parent 60e501d5ab
commit 82186a3961

View File

@ -47,15 +47,16 @@ namespace AP_HAL {
*/
enum SPIDevice {
SPIDevice_Dataflash,
SPIDevice_ADS7844,
SPIDevice_MS5611,
SPIDevice_MPU6000,
SPIDevice_ADNS3080_SPI0,
SPIDevice_ADNS3080_SPI3,
SPIDevice_MPU9250,
SPIDevice_LSM9DS0_AM,
SPIDevice_LSM9DS0_G
SPIDevice_Dataflash = 0,
SPIDevice_ADS7844 = 1,
SPIDevice_MS5611 = 2,
SPIDevice_MPU6000 = 3,
SPIDevice_ADNS3080_SPI0 = 4,
SPIDevice_ADNS3080_SPI3 = 5,
SPIDevice_MPU9250 = 6,
SPIDevice_L3GD20 = 7,
SPIDevice_LSM303D = 8,
SPIDevice_LSM9DS0 = 9
};
}