diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-06-15 22:33:14 -0700 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-06-15 22:48:05 -0700 |
commit | 4f1b7fec9f103c92de40875e9a06b7decc4923f4 (patch) | |
tree | d9e0f1b0e7dd290a728c065960500ecf30967997 /teensy/led.h | |
parent | 2547928148aefcf163953057979e14f46bef1170 (diff) | |
download | micropython-4f1b7fec9f103c92de40875e9a06b7decc4923f4.tar.gz micropython-4f1b7fec9f103c92de40875e9a06b7decc4923f4.zip |
Updated teensy to build.
Refactored some stmhal files which are shared with teensy.
Diffstat (limited to 'teensy/led.h')
-rw-r--r-- | teensy/led.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/teensy/led.h b/teensy/led.h index c5a4812549..7f4ba18f26 100644 --- a/teensy/led.h +++ b/teensy/led.h @@ -1,9 +1,9 @@ typedef enum { - PYB_LED_BUILTIN = 0, + PYB_LED_BUILTIN = 1, } pyb_led_t; void led_init(void); void led_state(pyb_led_t led, int state); void led_toggle(pyb_led_t led); -mp_obj_t pyb_Led(mp_obj_t led_id); +extern const mp_obj_type_t pyb_led_type; |