Allow disable of LCD click

This commit is contained in:
Scott Lahteine
2020-05-27 13:12:08 -05:00
parent a49319f3dd
commit 3bf0d8d161
3 changed files with 15 additions and 15 deletions

View File

@@ -398,6 +398,12 @@ public:
static millis_t next_filament_display;
#endif
FORCE_INLINE static void chirp() {
#if HAS_CHIRP
buzz(LCD_FEEDBACK_FREQUENCY_DURATION_MS, LCD_FEEDBACK_FREQUENCY_HZ);
#endif
}
static void quick_feedback(const bool clear_buttons=true);
#if HAS_BUZZER
static void completion_feedback(const bool good=true);
@@ -524,12 +530,6 @@ public:
static void reselect_last_file();
#endif
#if ENABLED(G26_MESH_VALIDATION)
FORCE_INLINE static void chirp() {
TERN_(HAS_BUZZER, buzz(LCD_FEEDBACK_FREQUENCY_DURATION_MS, LCD_FEEDBACK_FREQUENCY_HZ));
}
#endif
#if ENABLED(AUTO_BED_LEVELING_UBL)
static void ubl_plot(const uint8_t x_plot, const uint8_t y_plot);
#endif