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();
|
audio_init();
|
||||||
|
|
||||||
factory_test(pax_buffer, ili9341);
|
|
||||||
|
|
||||||
display_boot_screen(pax_buffer, ili9341, "Starting...");
|
display_boot_screen(pax_buffer, ili9341, "Starting...");
|
||||||
|
|
||||||
if (bsp_rp2040_init() != ESP_OK) {
|
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
|
rp2040_updater(rp2040, pax_buffer, ili9341); // Handle RP2040 firmware update & bootloader mode
|
||||||
|
|
||||||
|
factory_test(pax_buffer, ili9341);
|
||||||
|
|
||||||
/*uint8_t rp2040_uid[8];
|
/*uint8_t rp2040_uid[8];
|
||||||
if (rp2040_get_uid(rp2040, rp2040_uid) != ESP_OK) {
|
if (rp2040_get_uid(rp2040, rp2040_uid) != ESP_OK) {
|
||||||
ESP_LOGE(TAG, "Failed to get RP2040 UID");
|
ESP_LOGE(TAG, "Failed to get RP2040 UID");
|
||||||
|
|
Loading…
Reference in a new issue