1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/driver_lpd8808: tests/driver_apa102: rename STEP constant

This commit is contained in:
Alexandre Abadie 2022-05-06 18:13:14 +02:00
parent 2467ff0961
commit c034f6e15a
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;