1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

Don't hog CPU on shutdown

This commit is contained in:
Jochen Hoenicke 2018-03-24 20:56:07 +01:00 committed by Pavol Rusnak
parent 2587e49843
commit 39ea33523d

View File

@ -49,7 +49,7 @@ void setup(void) {
}
void __attribute__((noreturn)) shutdown(void) {
for(;;);
for(;;) pause();
}
void emulatorRandom(void *buffer, size_t size) {