Add files via upload

This commit is contained in:
MRprusa3d 2018-04-11 14:41:41 +00:00 committed by GitHub
parent 716f1c63bf
commit c8f1c55ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);