summaryrefslogtreecommitdiff
path: root/led_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'led_test.c')
-rw-r--r--led_test.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/led_test.c b/led_test.c
index d358ef81eb..6d3f3b2ed7 100644
--- a/led_test.c
+++ b/led_test.c
@@ -29,20 +29,20 @@ keyframe_animation_t led_test_animation = {
.num_frames = 14,
.loop = true,
.frame_lengths = {
- MS2ST(1000), // fade in
- MS2ST(1000), // no op (leds on)
- MS2ST(1000), // fade out
- MS2ST(1000), // crossfade
- MS2ST(3000), // left to rigt (outside in)
- MS2ST(1000), // crossfade
- MS2ST(3000), // top_to_bottom
+ gfxMillisecondsToTicks(1000), // fade in
+ gfxMillisecondsToTicks(1000), // no op (leds on)
+ gfxMillisecondsToTicks(1000), // fade out
+ gfxMillisecondsToTicks(1000), // crossfade
+ gfxMillisecondsToTicks(3000), // left to rigt (outside in)
+ gfxMillisecondsToTicks(1000), // crossfade
+ gfxMillisecondsToTicks(3000), // top_to_bottom
0, // mirror leds
- MS2ST(1000), // crossfade
- MS2ST(3000), // left_to_right (mirrored, so inside out)
- MS2ST(1000), // crossfade
- MS2ST(3000), // top_to_bottom
+ gfxMillisecondsToTicks(1000), // crossfade
+ gfxMillisecondsToTicks(3000), // left_to_right (mirrored, so inside out)
+ gfxMillisecondsToTicks(1000), // crossfade
+ gfxMillisecondsToTicks(3000), // top_to_bottom
0, // normal leds
- MS2ST(1000), // crossfade
+ gfxMillisecondsToTicks(1000), // crossfade
},
.frame_functions = {