diff options
| author | Paul Sokolovsky | 2014-06-20 17:29:58 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-06-20 17:29:58 +0300 |
| commit | 09e3f8f0d1b8156d8d2746d9088671352c0f749d (patch) | |
| tree | 53a632c86fe7854e0cc7c4ade6b4e6d4ca6dbf96 /stmhal/led.c | |
| parent | 74c710187c77ebd5ab8c5a44b07087f2c2ca786e (diff) | |
| parent | f6932d650620d3753b5a18df5131227276260f74 (diff) | |
Merge pull request #707 from eblot/master-v1.1.1-build-fixes
Fix missing declaration of assert()
Replace ARRAY_SIZE with MP_ARRAY_SIZE
Diffstat (limited to 'stmhal/led.c')
| -rw-r--r-- | stmhal/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/led.c b/stmhal/led.c index e23b30ab7..c1b298b17 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 */ |
