Skip to content

Commit

Permalink
Remove unused ARRAY_SIZE definition
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicgs committed Jul 12, 2017
1 parent f76fccf commit 90d3f7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions firmware/common/hackrf_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@

#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)

/* GPIO Output PinMux */
static struct gpio_t gpio_led[] = {
GPIO(2, 1),
Expand Down

0 comments on commit 90d3f7f

Please sign in to comment.