Merge pull request #2305 from 3d-gussner/MK3-Fix_M120_M121

Follow RepRap Wiki G-codes documentation
This commit is contained in:
DRracer 2021-02-09 07:52:14 +01:00 committed by GitHub
commit d5d44d30a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6992,14 +6992,14 @@ Sigma_Exit:
### M120 - Enable endstops <a href="https://reprap.org/wiki/G-code#M120:_Enable_endstop_detection">M120: Enable endstop detection</a>
*/
case 120:
enable_endstops(false) ;
enable_endstops(true) ;
break;
/*!
### M121 - Disable endstops <a href="https://reprap.org/wiki/G-code#M121:_Disable_endstop_detection">M121: Disable endstop detection</a>
*/
case 121:
enable_endstops(true) ;
enable_endstops(false) ;
break;
/*!