From 9b81c133f65849f48c2a6444a98862debf74d1dd Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 9 Dec 2017 11:29:25 +0900 Subject: [PATCH] AP_HAL_PX4: fix compiler warning in UARTDriver --- libraries/AP_HAL_PX4/UARTDriver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_PX4/UARTDriver.cpp b/libraries/AP_HAL_PX4/UARTDriver.cpp index 5c2fbe1b80..ba21b62764 100644 --- a/libraries/AP_HAL_PX4/UARTDriver.cpp +++ b/libraries/AP_HAL_PX4/UARTDriver.cpp @@ -26,10 +26,10 @@ PX4UARTDriver::PX4UARTDriver(const char *devpath, const char *perf_name) : _baudrate(57600), _initialised(false), _in_timer(false), + _unbuffered_writes(false), _perf_uart(perf_alloc(PC_ELAPSED, perf_name)), _os_start_auto_space(-1), - _flow_control(FLOW_CONTROL_DISABLE), - _unbuffered_writes(false) + _flow_control(FLOW_CONTROL_DISABLE) { }