|
@@ -199,6 +199,7 @@ static void fil_unload_menu();
|
|
#endif // SNMM || SNMM_V2
|
|
#endif // SNMM || SNMM_V2
|
|
static void lcd_disable_farm_mode();
|
|
static void lcd_disable_farm_mode();
|
|
static void lcd_set_fan_check();
|
|
static void lcd_set_fan_check();
|
|
|
|
+static void lcd_cutter_enabled();
|
|
static char snmm_stop_print_menu();
|
|
static char snmm_stop_print_menu();
|
|
#ifdef SDCARD_SORT_ALPHA
|
|
#ifdef SDCARD_SORT_ALPHA
|
|
static void lcd_sort_type_set();
|
|
static void lcd_sort_type_set();
|
|
@@ -2292,6 +2293,10 @@ void lcd_set_fan_check() {
|
|
eeprom_update_byte((unsigned char *)EEPROM_FAN_CHECK_ENABLED, fans_check_enabled);
|
|
eeprom_update_byte((unsigned char *)EEPROM_FAN_CHECK_ENABLED, fans_check_enabled);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+void lcd_cutter_enabled() {
|
|
|
|
+ cutter_enabled = !cutter_enabled;
|
|
|
|
+}
|
|
|
|
+
|
|
void lcd_set_filament_autoload() {
|
|
void lcd_set_filament_autoload() {
|
|
fsensor_autoload_set(!fsensor_autoload_enabled);
|
|
fsensor_autoload_set(!fsensor_autoload_enabled);
|
|
}
|
|
}
|
|
@@ -5207,6 +5212,11 @@ static void lcd_settings_menu()
|
|
|
|
|
|
SETTINGS_AUTO_DEPLETE;
|
|
SETTINGS_AUTO_DEPLETE;
|
|
|
|
|
|
|
|
+ if (cutter_enabled == true)
|
|
|
|
+ MENU_ITEM_FUNCTION_P(_i("Cutter [on]"), lcd_cutter_enabled);////MSG_FANS_CHECK_ON c=17 r=1
|
|
|
|
+ else
|
|
|
|
+ MENU_ITEM_FUNCTION_P(_i("Cutter [off]"), lcd_cutter_enabled);////MSG_FANS_CHECK_OFF c=17 r=1
|
|
|
|
+
|
|
if (fans_check_enabled == true)
|
|
if (fans_check_enabled == true)
|
|
MENU_ITEM_FUNCTION_P(_i("Fans check [on]"), lcd_set_fan_check);////MSG_FANS_CHECK_ON c=17 r=1
|
|
MENU_ITEM_FUNCTION_P(_i("Fans check [on]"), lcd_set_fan_check);////MSG_FANS_CHECK_ON c=17 r=1
|
|
else
|
|
else
|