From a4f6bbda5ee55385dc244c4b6fa0cb3be81e020a Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:07:32 -0600 Subject: [PATCH] Fix compiler warning (#1827) * Fix compiler warning * Fix compiler warning * Friggin C-lang --- firmware/application/apps/ui_flash_utility.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/application/apps/ui_flash_utility.cpp b/firmware/application/apps/ui_flash_utility.cpp index 5044ab4d..639f707d 100644 --- a/firmware/application/apps/ui_flash_utility.cpp +++ b/firmware/application/apps/ui_flash_utility.cpp @@ -150,6 +150,7 @@ bool FlashUtilityView::flash_firmware(std::filesystem::path::string_type path) { 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); m0_halt(); + return true; // fixes compiler warning (line should not be reached due to halt) } void FlashUtilityView::focus() {