mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: support uartD on some boards
PX4 and SITL get an extra UART
This commit is contained in:
parent
72415ed358
commit
cbc0f3ec27
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user