Move factory test to after RP2040 init and RP2040 firmware update steps

This commit is contained in:
Renze Nicolai 2022-06-03 05:35:42 +02:00
parent 2782665ad8
commit 5ff7e84997

View file

@ -114,8 +114,6 @@ void app_main(void) {
audio_init();
factory_test(pax_buffer, ili9341);
display_boot_screen(pax_buffer, ili9341, "Starting...");
if (bsp_rp2040_init() != ESP_OK) {
@ -132,6 +130,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) {
ESP_LOGE(TAG, "Failed to get RP2040 UID");