mirror of
https://github.com/espressif/openthread.git
synced 2026-10-18 13:38:07 +00:00
[clang-format] apply v14 changes (#8490)
This commit is contained in:
@@ -314,9 +314,9 @@ static void signal_critical(int sig, siginfo_t *info, void *ucontext)
|
||||
// This is the last hurah for this process.
|
||||
// We dump the stack, because that's all we can do.
|
||||
|
||||
void * stack_mem[AUTO_PRINT_BACKTRACE_STACK_DEPTH];
|
||||
void ** stack = stack_mem;
|
||||
char ** stack_symbols;
|
||||
void *stack_mem[AUTO_PRINT_BACKTRACE_STACK_DEPTH];
|
||||
void **stack = stack_mem;
|
||||
char **stack_symbols;
|
||||
int stack_depth, i;
|
||||
ucontext_t *uc = (ucontext_t *)ucontext;
|
||||
|
||||
@@ -813,7 +813,7 @@ static bool hdlc_byte_needs_escape(uint8_t byte)
|
||||
static int push_hdlc(void)
|
||||
{
|
||||
int ret = 0;
|
||||
const uint8_t * spiRxFrameBuffer = get_real_rx_frame_start();
|
||||
const uint8_t *spiRxFrameBuffer = get_real_rx_frame_start();
|
||||
static uint8_t escaped_frame_buffer[MAX_FRAME_SIZE * 2];
|
||||
static uint16_t unescaped_frame_len;
|
||||
static uint16_t escaped_frame_len;
|
||||
@@ -1019,7 +1019,7 @@ static int pull_hdlc(void)
|
||||
static int push_raw(void)
|
||||
{
|
||||
int ret = 0;
|
||||
const uint8_t * spiRxFrameBuffer = get_real_rx_frame_start();
|
||||
const uint8_t *spiRxFrameBuffer = get_real_rx_frame_start();
|
||||
static uint8_t raw_frame_buffer[MAX_FRAME_SIZE];
|
||||
static uint16_t raw_frame_len;
|
||||
static uint16_t raw_frame_sent;
|
||||
@@ -1291,9 +1291,9 @@ static void trigger_reset(void)
|
||||
|
||||
static bool setup_int_gpio(const char *path)
|
||||
{
|
||||
char * edge_path = NULL;
|
||||
char * dir_path = NULL;
|
||||
char * value_path = NULL;
|
||||
char *edge_path = NULL;
|
||||
char *dir_path = NULL;
|
||||
char *value_path = NULL;
|
||||
ssize_t len;
|
||||
int setup_fd = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user