From 9f50f09421e151548657900d23d4e171d10cfa80 Mon Sep 17 00:00:00 2001 From: Jochen Hoenicke Date: Tue, 27 Mar 2018 00:33:17 +0200 Subject: [PATCH] Init timer interrupt for unsigned firmware --- bootloader/bootloader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootloader/bootloader.c b/bootloader/bootloader.c index b47fedae88..780af28b82 100644 --- a/bootloader/bootloader.c +++ b/bootloader/bootloader.c @@ -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