mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-12-31 11:50:37 -07:00
Move M540 to cpp
This commit is contained in:
parent
a90c7dbf64
commit
7ba2ab4fb3
3 changed files with 15 additions and 10 deletions
|
|
@ -122,7 +122,6 @@ extern void gcode_M165();
|
|||
extern void gcode_M350();
|
||||
extern void gcode_M351();
|
||||
extern void gcode_M355();
|
||||
extern void gcode_M540();
|
||||
extern void gcode_M605();
|
||||
extern void gcode_M702();
|
||||
extern void gcode_M900();
|
||||
|
|
@ -637,9 +636,7 @@ void GcodeSuite::process_next_command() {
|
|||
#endif
|
||||
|
||||
#if ENABLED(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
|
||||
case 540: // M540: Set abort on endstop hit for SD printing
|
||||
gcode_M540();
|
||||
break;
|
||||
case 540: M540(); break; // M540: Set abort on endstop hit for SD printing
|
||||
#endif
|
||||
|
||||
#if HAS_BED_PROBE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue