mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Updated Flash message to say device will restart (#1715)
This commit is contained in:
parent
8761b9d7e0
commit
ff591c68a0
@ -121,7 +121,7 @@ void FlashUtilityView::flash_firmware(std::filesystem::path::string_type path) {
|
|||||||
painter.draw_string({12, 24}, this->nav_.style(), "This will take 15 seconds.");
|
painter.draw_string({12, 24}, this->nav_.style(), "This will take 15 seconds.");
|
||||||
painter.draw_string({12, 64}, this->nav_.style(), "Please wait while LEDs RX");
|
painter.draw_string({12, 64}, this->nav_.style(), "Please wait while LEDs RX");
|
||||||
painter.draw_string({12, 84}, this->nav_.style(), "and TX are flashing.");
|
painter.draw_string({12, 84}, this->nav_.style(), "and TX are flashing.");
|
||||||
painter.draw_string({12, 124}, this->nav_.style(), "Then restart the device.");
|
painter.draw_string({12, 124}, this->nav_.style(), "Device will then restart.");
|
||||||
|
|
||||||
std::memcpy(&shared_memory.bb_data.data[0], path.c_str(), (path.length() + 1) * 2);
|
std::memcpy(&shared_memory.bb_data.data[0], path.c_str(), (path.length() + 1) * 2);
|
||||||
m4_init(portapack::spi_flash::image_tag_flash_utility, portapack::memory::map::m4_code, false);
|
m4_init(portapack::spi_flash::image_tag_flash_utility, portapack::memory::map::m4_code, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user