Explorar el Código

Merge pull request #2132 from thinkyhead/fix_M120_M121

M120 and M121 are reversed
Scott Lahteine hace 10 años
padre
commit
71ff9adb12
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp Ver fichero

@@ -3917,12 +3917,12 @@ inline void gcode_M119() {
3917 3917
 /**
3918 3918
  * M120: Enable endstops
3919 3919
  */
3920
-inline void gcode_M120() { enable_endstops(false); }
3920
+inline void gcode_M120() { enable_endstops(true); }
3921 3921
 
3922 3922
 /**
3923 3923
  * M121: Disable endstops
3924 3924
  */
3925
-inline void gcode_M121() { enable_endstops(true); }
3925
+inline void gcode_M121() { enable_endstops(false); }
3926 3926
 
3927 3927
 #ifdef BLINKM
3928 3928
 

Loading…
Cancelar
Guardar