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:
3d-gussner 2019-10-31 15:31:08 +01:00
parent ba0362b7d5
commit 21dcfb23f4
1 changed files with 4 additions and 4 deletions

View File

@ -6366,16 +6366,16 @@ Sigma_Exit:
lcd_setstatus(strchr_pointer + 5);
break;*/
//! ### M120 - Disable endstops
//! ### M120 - Ensable endstops
// ----------------------------------------
case 120:
enable_endstops(false) ;
enable_endstops(true) ;
break;
//! ### M121 - Enable endstops
//! ### M121 - Disable endstops
// ----------------------------------------
case 121:
enable_endstops(true) ;
enable_endstops(false) ;
break;
//! ### M119 - Get endstop states