Skip to content

Commit

Permalink
Add new patch for disabling firmware popup
Browse files Browse the repository at this point in the history
  • Loading branch information
cjavad committed Oct 24, 2023
1 parent 419e5eb commit fc8d73a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/disable_new_firmware_popup.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/gui/screen_print_preview.cpp b/src/gui/screen_print_preview.cpp
index 509e71d3..90b44bb9 100644
--- a/src/gui/screen_print_preview.cpp
+++ b/src/gui/screen_print_preview.cpp
@@ -89,8 +89,6 @@ void ScreenPrintPreview::Change(fsm::BaseData data) {
pMsgbox = makeMsgBox(_(labelWarning), _(txt_unfinished_selftest));
break;
case PhasesPrintPreview::new_firmware_available: {
- const auto version = GCodeInfo::getInstance().get_valid_printer_settings().latest_fw_version;
- pMsgbox = makeMsgBox(_("New firmware available"), string_view_utf8::MakeRAM(reinterpret_cast<const uint8_t *>(version)));
break;
}
case PhasesPrintPreview::wrong_printer:

0 comments on commit fc8d73a

Please sign in to comment.