Browse Source

Add audio feedback to edit items

Scott Lahteine 9 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
       #endif
583
       #endif
584
     }
584
     }
585
     if (lcdDrawUpdate) lcd_implementation_drawedit(msg, NULL);
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
   #if ENABLED(BABYSTEP_XY)
589
   #if ENABLED(BABYSTEP_XY)
1134
     lcdDrawUpdate = LCD_DRAW_UPDATE_CALL_REDRAW;
1134
     lcdDrawUpdate = LCD_DRAW_UPDATE_CALL_REDRAW;
1135
   }
1135
   }
1136
   if (lcdDrawUpdate) lcd_implementation_drawedit(name, ftostr31(current_position[axis]));
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
 #if ENABLED(DELTA)
1139
 #if ENABLED(DELTA)
1140
   static float delta_clip_radius_2 =  (DELTA_PRINTABLE_RADIUS) * (DELTA_PRINTABLE_RADIUS);
1140
   static float delta_clip_radius_2 =  (DELTA_PRINTABLE_RADIUS) * (DELTA_PRINTABLE_RADIUS);
1180
     #endif //EXTRUDERS > 1
1180
     #endif //EXTRUDERS > 1
1181
     lcd_implementation_drawedit(pos_label, ftostr31(current_position[E_AXIS]));
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
   #if EXTRUDERS > 1
1184
   #if EXTRUDERS > 1
1185
     active_extruder = original_active_extruder;
1185
     active_extruder = original_active_extruder;
1186
   #endif
1186
   #endif
1648
         lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr2(lcd_contrast));
1648
         lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr2(lcd_contrast));
1649
       #endif
1649
       #endif
1650
     }
1650
     }
1651
-    if (LCD_CLICKED) lcd_goto_previous_menu();
1651
+    if (LCD_CLICKED) lcd_goto_previous_menu(true);
1652
   }
1652
   }
1653
 #endif // HAS_LCD_CONTRAST
1653
 #endif // HAS_LCD_CONTRAST
1654
 
1654
 

Loading…
Cancel
Save