Bläddra i källkod

Make sure volumetric multipliers are recalc'ed during menu enable/disable of mm3

wgm4321 10 år sedan
förälder
incheckning
dd7e4ee97f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp Visa fil

@@ -883,7 +883,7 @@ static void lcd_control_volumetric_menu()
883 883
 	START_MENU();
884 884
 	MENU_ITEM(back, MSG_CONTROL, lcd_control_menu);
885 885
 
886
-	MENU_ITEM_EDIT(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled);
886
+	MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled, calculate_volumetric_multipliers);
887 887
 
888 888
 	if (volumetric_enabled) {
889 889
 		MENU_ITEM_EDIT_CALLBACK(float43, MSG_FILAMENT_SIZE_EXTRUDER_0, &filament_size[0], DEFAULT_NOMINAL_FILAMENT_DIA - .5, DEFAULT_NOMINAL_FILAMENT_DIA + .5, calculate_volumetric_multipliers);

Laddar…
Avbryt
Spara