summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/servo.h
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/servo.h')
-rw-r--r--teensy/servo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/teensy/servo.h b/teensy/servo.h
index 5f1c87b693..1ad34353d9 100644
--- a/teensy/servo.h
+++ b/teensy/servo.h
@@ -1,3 +1,6 @@
+#ifndef MICROPY_INCLUDED_TEENSY_SERVO_H
+#define MICROPY_INCLUDED_TEENSY_SERVO_H
+
void servo_init(void);
extern const mp_obj_type_t pyb_servo_type;
@@ -5,3 +8,4 @@ extern const mp_obj_type_t pyb_servo_type;
MP_DECLARE_CONST_FUN_OBJ_2(pyb_servo_set_obj);
MP_DECLARE_CONST_FUN_OBJ_2(pyb_pwm_set_obj);
+#endif // MICROPY_INCLUDED_TEENSY_SERVO_H