Skip to content

Commit

Permalink
tests/ztimer_periodic: fix name clash with rp2040 vendor header
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian18 committed Jul 28, 2021
1 parent 6cf973d commit ee535fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ztimer_periodic/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static mutex_t _mutex = MUTEX_INIT_LOCKED;

static uint32_t _times[N];
static int _count;
#define CLOCKS { ZTIMER_MSEC, ZTIMER_USEC }
#define ZTIMER_CLOCKS { ZTIMER_MSEC, ZTIMER_USEC }
static const char *_names[] = { "ZTIMER_MSEC", "ZTIMER_USEC" };
static uint32_t _intervals[] = { 100, 10000 };
static uint32_t _max_offsets[] = { 2, 100 };
Expand Down Expand Up @@ -64,7 +64,7 @@ static int callback(void *arg)
int main(void)
{
ztimer_periodic_t t;
ztimer_clock_t * const clocks[] = CLOCKS;
ztimer_clock_t * const clocks[] = ZTIMER_CLOCKS;
int failed = 0;

for (size_t j = 0; j < ARRAY_SIZE(clocks); j++) {
Expand Down

0 comments on commit ee535fa

Please sign in to comment.