From d09b5491449f18991597f911fba77f4f4e299dbd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 13 Aug 2017 15:46:29 +1000 Subject: [PATCH] HAL_PX4: allow uart5 to be used for non-nsh on FMUv2/FMUv3 --- libraries/AP_HAL_PX4/HAL_PX4_Class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_PX4/HAL_PX4_Class.cpp b/libraries/AP_HAL_PX4/HAL_PX4_Class.cpp index ace97104ce..afbd74eca9 100644 --- a/libraries/AP_HAL_PX4/HAL_PX4_Class.cpp +++ b/libraries/AP_HAL_PX4/HAL_PX4_Class.cpp @@ -58,7 +58,7 @@ static PX4::SPIDeviceManager spi_mgr_instance; #define UARTC_DEFAULT_DEVICE "/dev/ttyS1" #define UARTD_DEFAULT_DEVICE "/dev/ttyS2" #define UARTE_DEFAULT_DEVICE "/dev/ttyS6" -#define UARTF_DEFAULT_DEVICE "/dev/null" +#define UARTF_DEFAULT_DEVICE "/dev/ttyS5" #elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4) || defined(CONFIG_ARCH_BOARD_PX4FMU_V4PRO) #define UARTA_DEFAULT_DEVICE "/dev/ttyACM0" #define UARTB_DEFAULT_DEVICE "/dev/ttyS3"