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:
parent
ac64d2d2f1
commit
bf96c43d32
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user