🐛 TM3D fixes and improvements
Co-Authored-By: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com>
This commit is contained in:
@ -2417,13 +2417,15 @@ void Draw_HomeOff_Menu() {
|
||||
#include "../../../libs/buzzer.h"
|
||||
|
||||
void HMI_AudioFeedback(const bool success=true) {
|
||||
if (success) {
|
||||
buzzer.tone(100, 659);
|
||||
buzzer.tone(10, 0);
|
||||
buzzer.tone(100, 698);
|
||||
}
|
||||
else
|
||||
buzzer.tone(40, 440);
|
||||
#if HAS_BUZZER
|
||||
if (success) {
|
||||
buzzer.tone(100, 659);
|
||||
buzzer.tone(10, 0);
|
||||
buzzer.tone(100, 698);
|
||||
}
|
||||
else
|
||||
buzzer.tone(40, 440);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Prepare */
|
||||
|
@ -23,9 +23,9 @@
|
||||
#include "../config.h"
|
||||
#include "../screens.h"
|
||||
|
||||
#ifdef COCOA_LEVELING_MENU
|
||||
#if ENABLED(COCOA_LEVELING_MENU)
|
||||
|
||||
#if BOTH(HAS_BED_PROBE,BLTOUCH)
|
||||
#if BOTH(HAS_BED_PROBE, BLTOUCH)
|
||||
#include "../../../../feature/bltouch.h"
|
||||
#endif
|
||||
|
||||
|
@ -1057,7 +1057,7 @@ namespace ExtUI {
|
||||
return isPrinting() && (isPrintingFromMediaPaused() || print_job_timer.isPaused());
|
||||
}
|
||||
|
||||
bool isMediaInserted() { return TERN0(SDSUPPORT, IS_SD_INSERTED() && card.isMounted()); }
|
||||
bool isMediaInserted() { return TERN0(SDSUPPORT, IS_SD_INSERTED()); }
|
||||
|
||||
void pausePrint() { ui.pause_print(); }
|
||||
void resumePrint() { ui.resume_print(); }
|
||||
|
Reference in New Issue
Block a user