1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

Init timer interrupt for unsigned firmware

This commit is contained in:
Jochen Hoenicke 2018-03-27 00:33:17 +02:00 committed by Pavol Rusnak
parent be64864efc
commit 9f50f09421
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -33,6 +33,7 @@
#include "layout.h"
#include "serialno.h"
#include "rng.h"
#include "timer.h"
void layoutFirmwareHash(const uint8_t *hash)
{
@ -149,10 +150,9 @@ int main(void)
int signed_firmware = signatures_ok(hash);
if (SIG_OK != signed_firmware) {
show_unofficial_warning(hash);
timer_init();
}
delay(100000);
load_app(signed_firmware);
}
#endif