mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-12-22 07:06:38 +00:00
Move factory test to after RP2040 init and RP2040 firmware update steps
This commit is contained in:
parent
2782665ad8
commit
5ff7e84997
1 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue