Add files via upload
This commit is contained in:
parent
716f1c63bf
commit
c8f1c55ec0
@ -3505,8 +3505,12 @@ static void lcd_fsensor_fail()
|
|||||||
static void lcd_silent_mode_set() {
|
static void lcd_silent_mode_set() {
|
||||||
switch (SilentModeMenu) {
|
switch (SilentModeMenu) {
|
||||||
case 0: SilentModeMenu = 1; break;
|
case 0: SilentModeMenu = 1; break;
|
||||||
|
#ifdef TMC2130
|
||||||
|
case 1: SilentModeMenu = 0; break;
|
||||||
|
#else
|
||||||
case 1: SilentModeMenu = 2; break;
|
case 1: SilentModeMenu = 2; break;
|
||||||
case 2: SilentModeMenu = 0; break;
|
case 2: SilentModeMenu = 0; break;
|
||||||
|
#endif //TMC2130
|
||||||
default: SilentModeMenu = 0; break;
|
default: SilentModeMenu = 0; break;
|
||||||
}
|
}
|
||||||
eeprom_update_byte((unsigned char *)EEPROM_SILENT, SilentModeMenu);
|
eeprom_update_byte((unsigned char *)EEPROM_SILENT, SilentModeMenu);
|
||||||
|
Loading…
Reference in New Issue
Block a user