From bf96c43d324533b6fb1316b6a229f7f8c44c23a0 Mon Sep 17 00:00:00 2001 From: Ondrej Mikle Date: Wed, 16 Aug 2023 16:40:04 +0200 Subject: [PATCH] chore(core): cstyle reformat DSVibram AR fix --- core/embed/firmware/main.c | 3 ++- core/embed/trezorhal/common.h | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/embed/firmware/main.c b/core/embed/firmware/main.c index 92f6792b38..33c01d2ff0 100644 --- a/core/embed/firmware/main.c +++ b/core/embed/firmware/main.c @@ -270,7 +270,8 @@ void SVC_C_Handler(uint32_t *stack) { clear_firmware_header = false; // break is omitted here because we want to continue to reboot below case SVC_REBOOT_TO_BOOTLOADER: - // if not going from copy image header & reboot, clean preventively this part of CCMRAM + // if not going from copy image header & reboot, clean preventively this + // part of CCMRAM if (clear_firmware_header) { explicit_bzero(&firmware_header_start, IMAGE_HEADER_SIZE); } diff --git a/core/embed/trezorhal/common.h b/core/embed/trezorhal/common.h index ea4fc29999..1781ed4c85 100644 --- a/core/embed/trezorhal/common.h +++ b/core/embed/trezorhal/common.h @@ -55,9 +55,8 @@ // from linker script extern uint8_t firmware_header_start; -extern uint8_t ccmram_start; -extern uint8_t ccmram_end; - +extern uint8_t ccmram_start; +extern uint8_t ccmram_end; void __attribute__((noreturn)) trezor_shutdown(void);