Move servo code to modules/servo.*

This commit is contained in:
Scott Lahteine
2017-11-19 13:39:46 -06:00
parent 81bc428b48
commit c0000a0cdc
8 changed files with 110 additions and 41 deletions

View File

@ -31,6 +31,7 @@
#if HAS_Z_SERVO_ENDSTOP
#include "../../module/probe.h"
#include "../../module/servo.h"
#endif
inline void toggle_pins() {

View File

@ -25,7 +25,7 @@
#if HAS_SERVOS
#include "../gcode.h"
#include "../../Marlin.h" // for servo[]
#include "../../module/servo.h"
/**
* M280: Get or set servo position. P<index> [S<angle>]