Skip to content

Commit

Permalink
AP_Periph: rearrange apd periph initialiser for --error=reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Nov 12, 2024
1 parent 43970c0 commit d1674b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tools/AP_Periph/esc_apd_telem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit d1674b0

Please sign in to comment.