mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 23:48:12 +00:00
Don't hog CPU on shutdown
This commit is contained in:
parent
2587e49843
commit
39ea33523d
@ -49,7 +49,7 @@ void setup(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void __attribute__((noreturn)) shutdown(void) {
|
void __attribute__((noreturn)) shutdown(void) {
|
||||||
for(;;);
|
for(;;) pause();
|
||||||
}
|
}
|
||||||
|
|
||||||
void emulatorRandom(void *buffer, size_t size) {
|
void emulatorRandom(void *buffer, size_t size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user