File tree 3 files changed +12
-12
lines changed
3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -1424,6 +1424,13 @@ void MarlinUI::init() {
1424
1424
1425
1425
#endif // HAS_ENCODER_ACTION
1426
1426
1427
+ #if HAS_SOUND
1428
+ void MarlinUI::completion_feedback (const bool good/* =true*/ ) {
1429
+ TERN_ (HAS_TOUCH_SLEEP, wakeup_screen ()); // Wake up on rotary encoder click...
1430
+ if (good) OKAY_BUZZ (); else ERR_BUZZ ();
1431
+ }
1432
+ #endif
1433
+
1427
1434
#endif // HAS_WIRED_LCD
1428
1435
1429
1436
#if HAS_STATUS_MESSAGE
Original file line number Diff line number Diff line change @@ -494,11 +494,6 @@ class MarlinUI {
494
494
495
495
static void status_screen ();
496
496
497
- #else
498
-
499
- static void quick_feedback (const bool =true ) {}
500
- static void completion_feedback (const bool =true ) {}
501
-
502
497
#endif
503
498
504
499
#if HAS_MARLINUI_U8GLIB
@@ -529,6 +524,11 @@ class MarlinUI {
529
524
530
525
#endif
531
526
527
+ #if !HAS_WIRED_LCD
528
+ static void quick_feedback (const bool =true ) {}
529
+ static void completion_feedback (const bool =true ) {}
530
+ #endif
531
+
532
532
#if ENABLED(SDSUPPORT)
533
533
#if BOTH(SCROLL_LONG_FILENAMES, HAS_MARLINUI_MENU)
534
534
#define MARLINUI_SCROLL_NAME 1
Original file line number Diff line number Diff line change @@ -271,13 +271,6 @@ void scroll_screen(const uint8_t limit, const bool is_menu) {
271
271
encoderTopLine = encoderLine;
272
272
}
273
273
274
- #if HAS_SOUND
275
- void MarlinUI::completion_feedback (const bool good/* =true*/ ) {
276
- TERN_ (HAS_TOUCH_SLEEP, wakeup_screen ()); // Wake up on rotary encoder click...
277
- if (good) OKAY_BUZZ (); else ERR_BUZZ ();
278
- }
279
- #endif
280
-
281
274
#if HAS_LINE_TO_Z
282
275
283
276
void line_to_z (const_float_t z) {
You can’t perform that action at this time.
0 commit comments