summaryrefslogtreecommitdiff
path: root/stm/servo.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-08 16:40:08 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-08 16:40:08 +0000
commitc3d35c6ac7348e8dc9072bb67b2c62294764fe00 (patch)
treef7eed83b56bb6814bd78b3c1b8fddb7df3b74ad2 /stm/servo.h
parent01d50d0d586a0e2630613120336faf75277d22d6 (diff)
stm: Put pyb module in ROM.
Diffstat (limited to 'stm/servo.h')
-rw-r--r--stm/servo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stm/servo.h b/stm/servo.h
index 02702e067..bb3edd97a 100644
--- a/stm/servo.h
+++ b/stm/servo.h
@@ -1,5 +1,5 @@
void servo_init(void);
-mp_obj_t pyb_servo_set(mp_obj_t port, mp_obj_t value);
-mp_obj_t pyb_pwm_set(mp_obj_t period, mp_obj_t pulse);
-mp_obj_t pyb_Servo(mp_obj_t servo_id);
+MP_DECLARE_CONST_FUN_OBJ(pyb_servo_set_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_pwm_set_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_Servo_obj);