From cbc0f3ec27deb80ef4d5003aa80531fcb048b5b0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Nov 2013 19:15:29 +1100 Subject: [PATCH] AP_HAL: support uartD on some boards PX4 and SITL get an extra UART --- libraries/AP_HAL/HAL.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL/HAL.h b/libraries/AP_HAL/HAL.h index 8a0a6deb34..efad9d38d1 100644 --- a/libraries/AP_HAL/HAL.h +++ b/libraries/AP_HAL/HAL.h @@ -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;