AP_HAL: support uartD on some boards

PX4 and SITL get an extra UART
This commit is contained in:
Andrew Tridgell 2013-11-22 19:15:29 +11:00
parent 72415ed358
commit cbc0f3ec27

View File

@ -17,6 +17,7 @@ public:
HAL(AP_HAL::UARTDriver* _uartA,
AP_HAL::UARTDriver* _uartB,
AP_HAL::UARTDriver* _uartC,
AP_HAL::UARTDriver* _uartD,
AP_HAL::I2CDriver* _i2c,
AP_HAL::SPIDeviceManager* _spi,
AP_HAL::AnalogIn* _analogin,
@ -31,6 +32,7 @@ public:
uartA(_uartA),
uartB(_uartB),
uartC(_uartC),
uartD(_uartD),
i2c(_i2c),
spi(_spi),
analogin(_analogin),
@ -48,6 +50,7 @@ public:
AP_HAL::UARTDriver* uartA;
AP_HAL::UARTDriver* uartB;
AP_HAL::UARTDriver* uartC;
AP_HAL::UARTDriver* uartD;
AP_HAL::I2CDriver* i2c;
AP_HAL::SPIDeviceManager* spi;
AP_HAL::AnalogIn* analogin;