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

chore(legacy): cstyle

This commit is contained in:
Ondrej Mikle 2021-02-10 13:02:58 +01:00 committed by Pavol Rusnak
parent 37306350c0
commit 90fe2047c8
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@
#include "supervise.h" #include "supervise.h"
#include <libopencm3/stm32/flash.h> #include <libopencm3/stm32/flash.h>
#include <vendor/libopencm3/include/libopencmsis/core_cm3.h>
#include <stdint.h> #include <stdint.h>
#include <vendor/libopencm3/include/libopencmsis/core_cm3.h>
#include "memory.h" #include "memory.h"
#if !EMULATOR #if !EMULATOR

View File

@ -80,7 +80,7 @@ inline uint32_t svc_timer_ms(void) {
* flag and won't run firmware, but enter bootloader mode. * flag and won't run firmware, but enter bootloader mode.
*/ */
inline void svc_reboot_to_bootloader(void) { inline void svc_reboot_to_bootloader(void) {
__asm__ __volatile__("svc %0" ::"i"(SVC_REBOOT_TO_BOOTLOADER) : "memory"); __asm__ __volatile__("svc %0" ::"i"(SVC_REBOOT_TO_BOOTLOADER) : "memory");
} }
#else #else