From 41fd62500e55749708dd380e9a9ec94deae8a74d Mon Sep 17 00:00:00 2001 From: Jacob Dahl Date: Tue, 17 Feb 2026 14:07:20 -0900 Subject: [PATCH] make format --- src/modules/esc_flasher/EscFlasher.hpp | 4 ++-- src/modules/esc_flasher/am32_protocol.cpp | 3 ++- src/modules/esc_flasher/am32_protocol.hpp | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/modules/esc_flasher/EscFlasher.hpp b/src/modules/esc_flasher/EscFlasher.hpp index d0563ec822..6fcec08693 100644 --- a/src/modules/esc_flasher/EscFlasher.hpp +++ b/src/modules/esc_flasher/EscFlasher.hpp @@ -136,8 +136,8 @@ private: uint8_t _target_esc{255}; // from vehicle_command param1 uint8_t _current_esc{0}; // index into _gpio_pins[] uint8_t _esc_count{0}; - uint32_t _gpio_pins[MAX_ESCS]{}; - uint8_t _device_info[am32::DEVICE_INFO_SIZE]{}; + uint32_t _gpio_pins[MAX_ESCS] {}; + uint8_t _device_info[am32::DEVICE_INFO_SIZE] {}; // --- firmware file --- int _fw_fd{-1}; diff --git a/src/modules/esc_flasher/am32_protocol.cpp b/src/modules/esc_flasher/am32_protocol.cpp index 3626ca7b26..2be52bdeee 100644 --- a/src/modules/esc_flasher/am32_protocol.cpp +++ b/src/modules/esc_flasher/am32_protocol.cpp @@ -44,7 +44,8 @@ #include #include -namespace am32 { +namespace am32 +{ // Bootloader handshake packet (8 zero bytes + 0x0D + "BLHeli" + CRC) static const uint8_t boot_init[] = { diff --git a/src/modules/esc_flasher/am32_protocol.hpp b/src/modules/esc_flasher/am32_protocol.hpp index 2dc1727191..7ea023937f 100644 --- a/src/modules/esc_flasher/am32_protocol.hpp +++ b/src/modules/esc_flasher/am32_protocol.hpp @@ -44,7 +44,8 @@ #include -namespace am32 { +namespace am32 +{ // AM32 bootloader command bytes static constexpr uint8_t CMD_RUN = 0x00;