diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index d7ca2e93f..38b225870 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -484,9 +484,7 @@ static float feedrate = 1500.0, next_feedrate, saved_feedrate; // Also there is bool axis_relative_modes[] per axis flag. static bool relative_mode = false; -#ifndef _DISABLE_M42_M226 const int sensitive_pins[] = SENSITIVE_PINS; // Sensitive pin list for M42 -#endif //_DISABLE_M42_M226 //static float tt = 0; //static float bt = 0; @@ -4871,7 +4869,6 @@ void process_commands() autotempShutdown(); } break; -#ifndef _DISABLE_M42_M226 case 42: //M42 -Change pin status via gcode if (code_seen('S')) { @@ -4899,7 +4896,6 @@ void process_commands() } } break; -#endif //_DISABLE_M42_M226 case 44: // M44: Prusa3D: Reset the bed skew and offset calibration. // Reset the baby step value and the baby step applied flag. @@ -5963,7 +5959,6 @@ Sigma_Exit: } break; -#ifndef _DISABLE_M42_M226 case 226: // M226 P S- Wait until the specified pin reaches the state required { if(code_seen('P')){ @@ -6015,7 +6010,6 @@ Sigma_Exit: } } break; -#endif //_DISABLE_M42_M226 #if NUM_SERVOS > 0 case 280: // M280 - set servo position absolute. P: servo index, S: angle or microseconds diff --git a/Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h b/Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h index 5b78f1d9a..0711d3c7d 100644 --- a/Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h +++ b/Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h @@ -138,8 +138,6 @@ //#define BACKLASH_X //#define BACKLASH_Y -// Disable some commands -#define _DISABLE_M42_M226 // Minimum ambient temperature limit to start triggering MINTEMP errors [C] // this value is litlebit higher that real limit, because ambient termistor is on the board and is temperated from it,