From d1674b089a6f4d6aace91a075dd5d7776f5f5be2 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 25 Sep 2024 14:32:02 +1000 Subject: [PATCH] AP_Periph: rearrange apd periph initialiser for --error=reorder --- Tools/AP_Periph/esc_apd_telem.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tools/AP_Periph/esc_apd_telem.cpp b/Tools/AP_Periph/esc_apd_telem.cpp index ed438d60f3..e7173bdca9 100644 --- a/Tools/AP_Periph/esc_apd_telem.cpp +++ b/Tools/AP_Periph/esc_apd_telem.cpp @@ -17,8 +17,9 @@ extern const AP_HAL::HAL& hal; #define TELEM_LEN 0x16 ESC_APD_Telem::ESC_APD_Telem (AP_HAL::UARTDriver *_uart, float num_poles) : - pole_count(num_poles), - uart(_uart) { + uart(_uart), + pole_count(num_poles) +{ uart->begin(115200); }