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:
parent
37306350c0
commit
90fe2047c8
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user