summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/servo.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-02 15:09:36 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-02 15:09:36 +0100
commita12be917a4644305e7813b3f4b11880aba3632ca (patch)
treed1c5cacae61e38673d034bbdc55b0a534c9fc62a /stmhal/servo.h
parent69dee59ce44685d34662870fff439d7249cace36 (diff)
downloadmicropython-a12be917a4644305e7813b3f4b11880aba3632ca.tar.gz
micropython-a12be917a4644305e7813b3f4b11880aba3632ca.zip
stmhal: Add timer module; move servo PWM from TIM2 to TIM5.
As per issue #257, servo is better on TIM5 because TIM2 is connected to more GPIO.
Diffstat (limited to 'stmhal/servo.h')
-rw-r--r--stmhal/servo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/stmhal/servo.h b/stmhal/servo.h
index d5fb6a8505..865b0fc9f5 100644
--- a/stmhal/servo.h
+++ b/stmhal/servo.h
@@ -1,5 +1,3 @@
-extern TIM_HandleTypeDef TIM2_Handle;
-
void servo_init(void);
void servo_timer_irq_callback(void);