Browse Source

Add audio feedback to edit items

Scott Lahteine 8 years ago
parent
commit
582b58e660
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/ultralcd.cpp

+ 4
- 4
Marlin/ultralcd.cpp View File

@@ -583,7 +583,7 @@ void lcd_set_home_offsets() {
583 583
       #endif
584 584
     }
585 585
     if (lcdDrawUpdate) lcd_implementation_drawedit(msg, NULL);
586
-    if (LCD_CLICKED) lcd_goto_previous_menu();
586
+    if (LCD_CLICKED) lcd_goto_previous_menu(true);
587 587
   }
588 588
 
589 589
   #if ENABLED(BABYSTEP_XY)
@@ -1134,7 +1134,7 @@ static void _lcd_move(const char* name, AxisEnum axis, float min, float max) {
1134 1134
     lcdDrawUpdate = LCD_DRAW_UPDATE_CALL_REDRAW;
1135 1135
   }
1136 1136
   if (lcdDrawUpdate) lcd_implementation_drawedit(name, ftostr31(current_position[axis]));
1137
-  if (LCD_CLICKED) lcd_goto_previous_menu();
1137
+  if (LCD_CLICKED) lcd_goto_previous_menu(true);
1138 1138
 }
1139 1139
 #if ENABLED(DELTA)
1140 1140
   static float delta_clip_radius_2 =  (DELTA_PRINTABLE_RADIUS) * (DELTA_PRINTABLE_RADIUS);
@@ -1180,7 +1180,7 @@ static void lcd_move_e(
1180 1180
     #endif //EXTRUDERS > 1
1181 1181
     lcd_implementation_drawedit(pos_label, ftostr31(current_position[E_AXIS]));
1182 1182
   }
1183
-  if (LCD_CLICKED) lcd_goto_previous_menu();
1183
+  if (LCD_CLICKED) lcd_goto_previous_menu(true);
1184 1184
   #if EXTRUDERS > 1
1185 1185
     active_extruder = original_active_extruder;
1186 1186
   #endif
@@ -1648,7 +1648,7 @@ static void lcd_control_volumetric_menu() {
1648 1648
         lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr2(lcd_contrast));
1649 1649
       #endif
1650 1650
     }
1651
-    if (LCD_CLICKED) lcd_goto_previous_menu();
1651
+    if (LCD_CLICKED) lcd_goto_previous_menu(true);
1652 1652
   }
1653 1653
 #endif // HAS_LCD_CONTRAST
1654 1654
 

Loading…
Cancel
Save