mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-12-22 07:06:38 +00:00
Update RP2040 firmware
This commit is contained in:
parent
0f660dca5d
commit
5c4e99738c
2 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ void rp2040_updater(RP2040* rp2040, pax_buf_t* pax_buffer, ILI9341* ili9341) {
|
||||||
restart();
|
restart();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fw_version < 0x02) { // Update required
|
if (fw_version < 0x03) { // Update required
|
||||||
display_rp2040_update_state(pax_buffer, ili9341, "Starting bootloader...");
|
display_rp2040_update_state(pax_buffer, ili9341, "Starting bootloader...");
|
||||||
rp2040_reboot_to_bootloader(rp2040);
|
rp2040_reboot_to_bootloader(rp2040);
|
||||||
esp_restart();
|
esp_restart();
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue