Turn the PSU on before asking the endstops.
This commit is contained in:
parent
e8518f9e34
commit
fb5a32d344
|
|
@ -730,6 +730,7 @@ void process_gcode_command() {
|
||||||
case 200:
|
case 200:
|
||||||
//? --- M200: report endstop status ---
|
//? --- M200: report endstop status ---
|
||||||
//? Report the current status of the endstops configured in the firmware to the host.
|
//? Report the current status of the endstops configured in the firmware to the host.
|
||||||
|
power_on();
|
||||||
#if defined(X_MIN_PIN)
|
#if defined(X_MIN_PIN)
|
||||||
sersendf_P(PSTR("x_min:%d "), x_min());
|
sersendf_P(PSTR("x_min:%d "), x_min());
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue