AP_HAL: support uartI, allowing a total of 9 uarts

this allows for OTG2 on the MatekH743 board, which makes SLCAN much
easier
This commit is contained in:
Andrew Tridgell 2020-11-26 17:48:59 +11:00
parent 217433ee16
commit 68fdf033ee
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,7 @@ public:
AP_HAL::UARTDriver* _uartF, // extra1
AP_HAL::UARTDriver* _uartG, // extra2
AP_HAL::UARTDriver* _uartH, // extra3
AP_HAL::UARTDriver* _uartI, // extra4
AP_HAL::I2CDeviceManager* _i2c_mgr,
AP_HAL::SPIDeviceManager* _spi,
AP_HAL::AnalogIn* _analogin,
@ -54,6 +55,7 @@ public:
uartF(_uartF),
uartG(_uartG),
uartH(_uartH),
uartI(_uartI),
i2c_mgr(_i2c_mgr),
spi(_spi),
analogin(_analogin),
@ -107,6 +109,7 @@ public:
AP_HAL::UARTDriver* uartF;
AP_HAL::UARTDriver* uartG;
AP_HAL::UARTDriver* uartH;
AP_HAL::UARTDriver* uartI;
AP_HAL::I2CDeviceManager* i2c_mgr;
AP_HAL::SPIDeviceManager* spi;
AP_HAL::AnalogIn* analogin;