From 0636c1272992c9b5083c908286fa7c9f60186bb7 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Thu, 6 Apr 2017 15:53:47 +0200 Subject: [PATCH] loader: fix b2f9725 --- micropython/loader/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/micropython/loader/main.c b/micropython/loader/main.c index cb5a22a85..fdbff95a5 100644 --- a/micropython/loader/main.c +++ b/micropython/loader/main.c @@ -121,6 +121,11 @@ int usb_init_all(void) { return 0; } +void mainloop(void) +{ + __fatal_error("touch detected - launch aborted"); +} + int main(void) { SCB->VTOR = LOADER_START + HEADER_SIZE;