HAL_SITL: added uartD

This commit is contained in:
Andrew Tridgell 2013-11-22 19:16:05 +11:00
parent 4fb1fdb627
commit 18eadfd69e
1 changed files with 3 additions and 1 deletions

View File

@ -39,14 +39,16 @@ static Empty::EmptySPIDeviceManager emptySPI;
static SITLUARTDriver sitlUart0Driver(0, &sitlState);
static SITLUARTDriver sitlUart1Driver(1, &sitlState);
static SITLUARTDriver sitlUart2Driver(2, &sitlState);
static SITLUARTDriver sitlUart3Driver(3, &sitlState);
static SITLUtil utilInstance;
HAL_AVR_SITL::HAL_AVR_SITL() :
AP_HAL::HAL(
&sitlUart0Driver, /* uartA */
&sitlUart1Driver, /* uartB */
&sitlUart1Driver, /* uartB */
&sitlUart2Driver, /* uartC */
&sitlUart3Driver, /* uartD */
&emptyI2C, /* i2c */
&emptySPI, /* spi */
&sitlAnalogIn, /* analogin */