HAL_PX4: enable uartB as GPS port

This commit is contained in:
Andrew Tridgell 2013-01-04 19:41:50 +11:00
parent 2f111b857b
commit 965fc8a9d1

View File

@ -38,10 +38,11 @@ static PX4EEPROMStorage storageDriver;
static PX4RCInput rcinDriver;
#define UARTA_DEVICE "/dev/ttyS2"
#define UARTB_DEVICE "/dev/ttyS3"
// only one real UART driver for now
// only two real UART drivers for now
static PX4UARTDriver uartADriver(UARTA_DEVICE);
static Empty::EmptyUARTDriver uartBDriver;
static PX4UARTDriver uartBDriver(UARTB_DEVICE);
static Empty::EmptyUARTDriver uartCDriver;
HAL_PX4::HAL_PX4() :