From 0e9d96f18f10c3ac81f2d8c55ce6ea8b061e0f12 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 24 Mar 2014 11:48:39 +0000 Subject: stmhal: Make Led, Servo and Accel their class, not a function. --- stmhal/led.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/led.h') diff --git a/stmhal/led.h b/stmhal/led.h index b3762271c1..ab2b2ea14e 100644 --- a/stmhal/led.h +++ b/stmhal/led.h @@ -21,4 +21,4 @@ void led_state(pyb_led_t led, int state); void led_toggle(pyb_led_t led); void led_debug(int value, int delay); -MP_DECLARE_CONST_FUN_OBJ(pyb_Led_obj); +extern const mp_obj_type_t pyb_led_type; -- cgit v1.2.3