From 5ff7e84997dca973132bb8b07a93d70f8657e00d Mon Sep 17 00:00:00 2001 From: Renze Nicolai Date: Fri, 3 Jun 2022 05:35:42 +0200 Subject: [PATCH] Move factory test to after RP2040 init and RP2040 firmware update steps --- main/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/main.c b/main/main.c index 872d032..26d3841 100644 --- a/main/main.c +++ b/main/main.c @@ -113,9 +113,7 @@ void app_main(void) { } audio_init(); - - factory_test(pax_buffer, ili9341); - + display_boot_screen(pax_buffer, ili9341, "Starting..."); if (bsp_rp2040_init() != ESP_OK) { @@ -131,6 +129,8 @@ void app_main(void) { } rp2040_updater(rp2040, pax_buffer, ili9341); // Handle RP2040 firmware update & bootloader mode + + factory_test(pax_buffer, ili9341); /*uint8_t rp2040_uid[8]; if (rp2040_get_uid(rp2040, rp2040_uid) != ESP_OK) {