From 30efa53956da053919c2e5b9a3c96ae00ba6208d Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sat, 2 Jul 2016 16:15:43 -0700 Subject: [PATCH] Clear M4->M0 interrupt before M4 image is loaded. ...out of an abundance of caution. --- firmware/application/baseband_api.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/application/baseband_api.cpp b/firmware/application/baseband_api.cpp index 0e50c5c1b..10f5a92ae 100644 --- a/firmware/application/baseband_api.cpp +++ b/firmware/application/baseband_api.cpp @@ -97,6 +97,8 @@ void run_image(const portapack::spi_flash::image_tag_t image_tag) { chDbgPanic("BBRunning"); } + creg::m4txevent::clear(); + m4_init(image_tag, portapack::memory::map::m4_code); baseband_image_running = true;