Browse Source

_DISABLE_M42_M226 removed

Robert Pelnar 6 years ago
parent
commit
2a66251170
2 changed files with 0 additions and 8 deletions
  1. 0 6
      Firmware/Marlin_main.cpp
  2. 0 2
      Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h

+ 0 - 6
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<pin number> S<pin state>- 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

+ 0 - 2
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,