mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
make format
This commit is contained in:
parent
f37df48fa2
commit
41fd62500e
@ -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};
|
||||
|
||||
@ -44,7 +44,8 @@
|
||||
#include <px4_platform_common/micro_hal.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
|
||||
namespace am32 {
|
||||
namespace am32
|
||||
{
|
||||
|
||||
// Bootloader handshake packet (8 zero bytes + 0x0D + "BLHeli" + CRC)
|
||||
static const uint8_t boot_init[] = {
|
||||
|
||||
@ -44,7 +44,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
namespace am32 {
|
||||
namespace am32
|
||||
{
|
||||
|
||||
// AM32 bootloader command bytes
|
||||
static constexpr uint8_t CMD_RUN = 0x00;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user