Follow RepRap Wiki G-codes documentation
M120 is Enable endstops M121 is disable endstops I guess this was just a typo issue.
This commit is contained in:
parent
ba0362b7d5
commit
21dcfb23f4
|
|
@ -6366,16 +6366,16 @@ Sigma_Exit:
|
||||||
lcd_setstatus(strchr_pointer + 5);
|
lcd_setstatus(strchr_pointer + 5);
|
||||||
break;*/
|
break;*/
|
||||||
|
|
||||||
//! ### M120 - Disable endstops
|
//! ### M120 - Ensable endstops
|
||||||
// ----------------------------------------
|
// ----------------------------------------
|
||||||
case 120:
|
case 120:
|
||||||
enable_endstops(false) ;
|
enable_endstops(true) ;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//! ### M121 - Enable endstops
|
//! ### M121 - Disable endstops
|
||||||
// ----------------------------------------
|
// ----------------------------------------
|
||||||
case 121:
|
case 121:
|
||||||
enable_endstops(true) ;
|
enable_endstops(false) ;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//! ### M119 - Get endstop states
|
//! ### M119 - Get endstop states
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue