Move M226 to cpp

This commit is contained in:
Scott Lahteine
2017-09-17 02:43:36 -05:00
parent 0e319104c2
commit 3e761696a0
3 changed files with 6 additions and 7 deletions

View File

@ -119,7 +119,6 @@ void GcodeSuite::dwell(millis_t time) {
extern void gcode_M163();
extern void gcode_M164();
extern void gcode_M165();
extern void gcode_M226();
extern void gcode_M240();
extern void gcode_M250();
extern void gcode_M260();
@ -564,9 +563,7 @@ void GcodeSuite::process_next_command() {
M221();
break;
case 226: // M226: Wait until a pin reaches a state
gcode_M226();
break;
case 226: M226(); break; // M226: Wait until a pin reaches a state
#if HAS_SERVOS
case 280: // M280: Set servo position absolute