summaryrefslogtreecommitdiff
path: root/teensy/servo.h
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-06-15 22:33:14 -0700
committerDave Hylands <dhylands@gmail.com>2014-06-15 22:48:05 -0700
commit4f1b7fec9f103c92de40875e9a06b7decc4923f4 (patch)
treed9e0f1b0e7dd290a728c065960500ecf30967997 /teensy/servo.h
parent2547928148aefcf163953057979e14f46bef1170 (diff)
Updated teensy to build.
Refactored some stmhal files which are shared with teensy.
Diffstat (limited to 'teensy/servo.h')
-rw-r--r--teensy/servo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/teensy/servo.h b/teensy/servo.h
index c4a5bd49b..5dad04113 100644
--- a/teensy/servo.h
+++ b/teensy/servo.h
@@ -1,2 +1,7 @@
-mp_obj_t pyb_Servo(void);
+void servo_init(void);
+
+extern const mp_obj_type_t pyb_servo_type;
+
+MP_DECLARE_CONST_FUN_OBJ(pyb_servo_set_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_pwm_set_obj);