summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/led.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-06-25 04:10:34 +0100
committerDamien George <damien.p.george@gmail.com>2014-06-25 04:10:34 +0100
commite973acde81462de0c205f27db2642a08022fb3a8 (patch)
treec6862ead76ae12979b3c3d6d1ec20774884c72ef /stmhal/led.c
parent780e54cdc3491409060f90003ca64fcdd3f9f1e6 (diff)
parent939c2e7f448fbe6b44d0079d2fc33c7ac7eb32d0 (diff)
downloadmicropython-e973acde81462de0c205f27db2642a08022fb3a8.tar.gz
micropython-e973acde81462de0c205f27db2642a08022fb3a8.zip
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'stmhal/led.c')
-rw-r--r--stmhal/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/led.c b/stmhal/led.c
index e23b30ab75..c1b298b179 100644
--- a/stmhal/led.c
+++ b/stmhal/led.c
@@ -61,7 +61,7 @@ STATIC const pyb_led_obj_t pyb_led_obj[] = {
#endif
#endif
};
-#define NUM_LEDS ARRAY_SIZE(pyb_led_obj)
+#define NUM_LEDS MP_ARRAY_SIZE(pyb_led_obj)
void led_init(void) {
/* GPIO structure */