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:
parent
2467ff0961
commit
c034f6e15a
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user