1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 03:50:58 +00:00

chore(core): cstyle reformat

DSVibram AR fix
This commit is contained in:
Ondrej Mikle 2023-08-16 16:40:04 +02:00
parent ac64d2d2f1
commit bf96c43d32
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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);