summaryrefslogtreecommitdiff
path: root/stmhal/modpyb.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-19 00:54:33 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-19 00:54:33 +0100
commit44ee42de50776210293ef7edea9089e5327142e2 (patch)
tree2bea122516b800d32306bd09f5bd5e9062dca860 /stmhal/modpyb.c
parent8cf08a58a1a429350dc7057e08b0b7e494f60fe3 (diff)
stmhal: Rename pyb.Led to pyb.LED to conform to naming rules.
It's Light Emitting Diode, so should be LED.
Diffstat (limited to 'stmhal/modpyb.c')
-rw-r--r--stmhal/modpyb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/modpyb.c b/stmhal/modpyb.c
index ef5e94afc..ccf9fa53c 100644
--- a/stmhal/modpyb.c
+++ b/stmhal/modpyb.c
@@ -281,7 +281,7 @@ STATIC const mp_map_elem_t pyb_module_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_SD), (mp_obj_t)&pyb_sdcard_obj },
#endif
- { MP_OBJ_NEW_QSTR(MP_QSTR_Led), (mp_obj_t)&pyb_led_type },
+ { MP_OBJ_NEW_QSTR(MP_QSTR_LED), (mp_obj_t)&pyb_led_type },
{ MP_OBJ_NEW_QSTR(MP_QSTR_I2C), (mp_obj_t)&pyb_i2c_type },
{ MP_OBJ_NEW_QSTR(MP_QSTR_USART), (mp_obj_t)&pyb_usart_type },