Add M7, M8 and M9 gcode for better compatibility with CNCJS
This commit is contained in:
parent
5edac0d69e
commit
77268b38c9
@ -11914,9 +11914,16 @@ void process_parsed_command() {
|
|||||||
#endif // HAS_TEMP_BED
|
#endif // HAS_TEMP_BED
|
||||||
|
|
||||||
#if FAN_COUNT > 0
|
#if FAN_COUNT > 0
|
||||||
|
#if ENABLED(MPCNC)
|
||||||
|
case 7: // M7: Fan On
|
||||||
|
case 8: // M8: Flood Fan
|
||||||
|
#endif
|
||||||
case 106: // M106: Fan On
|
case 106: // M106: Fan On
|
||||||
gcode_M106();
|
gcode_M106();
|
||||||
break;
|
break;
|
||||||
|
#if ENABLED(MPCNC)
|
||||||
|
case 9: // M9: Fan Off
|
||||||
|
#endif
|
||||||
case 107: // M107: Fan Off
|
case 107: // M107: Fan Off
|
||||||
gcode_M107();
|
gcode_M107();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user