diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index c95ddde8c..e69f668bb 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -7262,7 +7262,7 @@ void process_commands() iType = eeprom_read_byte(&EEPROM_Sheets_base->s[iSel].type); } // Reset Sheet type if out of range - if (iType > STEEL_SHEET_TYPES -1) eeprom_update_byte_notify(&EEPROM_Sheets_base->s[iSel].type, 0); + if (iType > 32) eeprom_update_byte_notify(&EEPROM_Sheets_base->s[iSel].type, 0); #endif //STEEL_SHEET_TYPES if (code_seen('A'))