From 4cb61f1f08cb8dd0e575297ac58d9ccac8489330 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 21 Dec 2013 22:25:27 +1100 Subject: [PATCH] AP_HAL: support uartE --- libraries/AP_HAL/HAL.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libraries/AP_HAL/HAL.h b/libraries/AP_HAL/HAL.h index efad9d38d1..b4f58ce5f7 100644 --- a/libraries/AP_HAL/HAL.h +++ b/libraries/AP_HAL/HAL.h @@ -14,10 +14,11 @@ class AP_HAL::HAL { public: - HAL(AP_HAL::UARTDriver* _uartA, - AP_HAL::UARTDriver* _uartB, - AP_HAL::UARTDriver* _uartC, - AP_HAL::UARTDriver* _uartD, + HAL(AP_HAL::UARTDriver* _uartA, // console + AP_HAL::UARTDriver* _uartB, // 1st GPS + AP_HAL::UARTDriver* _uartC, // telem1 + AP_HAL::UARTDriver* _uartD, // telem2 + AP_HAL::UARTDriver* _uartE, // 2nd GPS AP_HAL::I2CDriver* _i2c, AP_HAL::SPIDeviceManager* _spi, AP_HAL::AnalogIn* _analogin, @@ -33,6 +34,7 @@ public: uartB(_uartB), uartC(_uartC), uartD(_uartD), + uartE(_uartE), i2c(_i2c), spi(_spi), analogin(_analogin), @@ -51,6 +53,7 @@ public: AP_HAL::UARTDriver* uartB; AP_HAL::UARTDriver* uartC; AP_HAL::UARTDriver* uartD; + AP_HAL::UARTDriver* uartE; AP_HAL::I2CDriver* i2c; AP_HAL::SPIDeviceManager* spi; AP_HAL::AnalogIn* analogin;