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:
parent
be64864efc
commit
9f50f09421
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user