AP_HAL_Linux: Correct SPIDriver devs

This commit is contained in:
Víctor Mayoral Vilches 2014-05-19 21:26:16 +02:00 committed by Andrew Tridgell
parent 57ec305caa
commit ea7dcc188b

View File

@ -106,8 +106,8 @@ void LinuxSPIDeviceDriver::transfer(const uint8_t *data, uint16_t len)
}
LinuxSPIDeviceManager::LinuxSPIDeviceManager() :
_device_cs0("/dev/spidev0.0", SPI_MODE_0, 8, 2600000),
_device_cs1("/dev/spidev0.1", SPI_MODE_0, 8, 1000000)
_device_cs0("/dev/spidev2.0", SPI_MODE_0, 8, 2600000),
_device_cs1("/dev/spidev1.0", SPI_MODE_0, 8, 1000000)
{}
void LinuxSPIDeviceManager::init(void *)