From 869aba95754fb54b24eb778a3a459a1eeba011f9 Mon Sep 17 00:00:00 2001 From: khurramch <34025513+khurramch@users.noreply.github.com> Date: Thu, 19 Apr 2018 19:13:25 +0500 Subject: [PATCH] Update spindle_control.c --- spindle_control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spindle_control.c b/spindle_control.c index cd14f94..e7a63b8 100644 --- a/spindle_control.c +++ b/spindle_control.c @@ -27,7 +27,7 @@ #define RC_SERVO_SHORT 15 // Timer ticks for 0.6ms pulse duration (9 for 0.6ms) #define RC_SERVO_LONG 32 // Timer ticks for 2.5 ms pulse duration (39 for 2.5ms) -//#define RC_SERVO_INVERT 1 // Uncomment to invert servo direction +#define RC_SERVO_INVERT 1 // Uncomment to invert servo direction void spindle_init() @@ -121,4 +121,4 @@ void spindle_run(uint8_t direction, float rpm) } } spindle_set_state(uint8_t state, float rpm){ -} \ No newline at end of file +}