From 4654e7c3222325c45d6643ad7314d8307a20d35e Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Thu, 30 Jan 2025 09:31:22 +0100 Subject: [PATCH] Send host notifications when M862.x triggers --- Firmware/util.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Firmware/util.cpp b/Firmware/util.cpp index c4eb03697..7cce47dbc 100644 --- a/Firmware/util.cpp +++ b/Firmware/util.cpp @@ -280,10 +280,12 @@ static void render_M862_warnings(const char* warning, const char* strict, uint8_ #else if (check == 1) { // Warning, stop print if user selects 'No' #endif //STEEL_SHEET_TYPES + sendHostNotification_P(warning); if (lcd_show_multiscreen_message_cont_cancel_and_wait_P(warning, true, LCD_LEFT_BUTTON_CHOICE) == LCD_MIDDLE_BUTTON_CHOICE) { lcd_print_stop(); } } else if (check == 2) { // Strict, always stop print + sendHostNotification_P(strict); lcd_show_fullscreen_message_and_wait_P(strict); lcd_print_stop(); }