From c034f6e15a429876bd74118d4e3f15c49dea27c8 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 6 May 2022 18:13:14 +0200 Subject: [PATCH] tests/driver_lpd8808: tests/driver_apa102: rename STEP constant --- tests/drivers/apa102/main.c | 4 ++-- tests/drivers/lpd8808/main.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/drivers/apa102/main.c b/tests/drivers/apa102/main.c index 4482a4f677..742fab8bac 100644 --- a/tests/drivers/apa102/main.c +++ b/tests/drivers/apa102/main.c @@ -31,7 +31,7 @@ /** * @brief Switch to the next LED every 10ms */ -#define STEP (200 * US_PER_MS) +#define STEP_MS (200 * US_PER_MS) /** * @brief Interval for dimming colors @@ -132,7 +132,7 @@ int main(void) step *= -1; } - xtimer_periodic_wakeup(&now, STEP); + xtimer_periodic_wakeup(&now, STEP_MS); } return 0; diff --git a/tests/drivers/lpd8808/main.c b/tests/drivers/lpd8808/main.c index 2c3ce83f63..a802240283 100644 --- a/tests/drivers/lpd8808/main.c +++ b/tests/drivers/lpd8808/main.c @@ -31,7 +31,7 @@ /** * @brief Switch to the next LED every 10ms */ -#define STEP (10 * 1000U) +#define STEP_MS (10 * 1000U) /** * @brief Allocate the device descriptor @@ -77,7 +77,7 @@ int main(void) step *= -1; } - xtimer_periodic_wakeup(&now, STEP); + xtimer_periodic_wakeup(&now, STEP_MS); } return 0;