Disable M120 M121
This commit is contained in:
parent
eb4cf1a77f
commit
832e881955
@ -6967,19 +6967,21 @@ Sigma_Exit:
|
|||||||
lcd_setstatus(strchr_pointer + 5);
|
lcd_setstatus(strchr_pointer + 5);
|
||||||
break;*/
|
break;*/
|
||||||
|
|
||||||
|
#if 0 //Disable these for the time being
|
||||||
/*!
|
/*!
|
||||||
### M120 - Enable endstops <a href="https://reprap.org/wiki/G-code#M120:_Enable_endstop_detection">M120: Enable endstop detection</a>
|
### M120 - Enable endstops <a href="https://reprap.org/wiki/G-code#M120:_Enable_endstop_detection">M120: Enable endstop detection</a>
|
||||||
*/
|
*/
|
||||||
case 120:
|
case 120:
|
||||||
enable_endstops(true) ;
|
enable_endstops(true) ;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
### M121 - Disable endstops <a href="https://reprap.org/wiki/G-code#M121:_Disable_endstop_detection">M121: Disable endstop detection</a>
|
### M121 - Disable endstops <a href="https://reprap.org/wiki/G-code#M121:_Disable_endstop_detection">M121: Disable endstop detection</a>
|
||||||
*/
|
*/
|
||||||
case 121:
|
case 121:
|
||||||
enable_endstops(false) ;
|
enable_endstops(false) ;
|
||||||
break;
|
break;
|
||||||
|
#endif //0
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
### M119 - Get endstop states <a href="https://reprap.org/wiki/G-code#M119:_Get_Endstop_Status">M119: Get Endstop Status</a>
|
### M119 - Get endstop states <a href="https://reprap.org/wiki/G-code#M119:_Get_Endstop_Status">M119: Get Endstop Status</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user