Skip to content

Commit f6c1b2c

Browse files
O
1 parent b3099ab commit f6c1b2c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/lib/hardware/misc/leds/CANdleLEDStrip.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ public class CANdleLEDStrip extends LEDStrip {
1414
private static int LAST_CREATED_LED_STRIP_ANIMATION_SLOT = 0;
1515
private final int animationSlot;
1616
private boolean shouldRunPeriodically = false;
17-
private double lastLEDAnimationChangeTime = 0;
18-
private boolean isLEDAnimationChanged = false;
1917

2018
/**
2119
* Sets the CANdle instance to be used for controlling the LED strips. Must be set before using any LED strips. Should only be called once.
@@ -75,7 +73,8 @@ protected void blink(Color color, double speed) {
7573
speed,
7674
this.numberOfLEDs,
7775
indexOffset
78-
)
76+
),
77+
animationSlot
7978
);
8079
}
8180

0 commit comments

Comments
 (0)