Remove unused ARRAY_SIZE definition

This commit is contained in:
Dominic Spill
2017-07-11 18:27:24 -06:00
parent f76fccf619
commit 90d3f7f293

View File

@ -40,11 +40,7 @@
#include "gpio_lpc.h" #include "gpio_lpc.h"
/* TODO: Consolidate ARRAY_SIZE declarations */
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#define WAIT_CPU_CLOCK_INIT_DELAY (10000) #define WAIT_CPU_CLOCK_INIT_DELAY (10000)
/* GPIO Output PinMux */ /* GPIO Output PinMux */
static struct gpio_t gpio_led[] = { static struct gpio_t gpio_led[] = {
GPIO(2, 1), GPIO(2, 1),