Skip to content

Commit e3edafc

Browse files
committed
proxy
1 parent 2df4a83 commit e3edafc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/java/org/trigon/hardware/misc/leds/LEDCommands.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static Command getAnimateCommand(LEDStripAnimationSettings.LEDAnimationSe
2424
},
2525
() -> runForLEDs(LEDStrip::clearLEDColors, ledStrips),
2626
ledStrips
27-
).ignoringDisable(true);
27+
).ignoringDisable(true).asProxy();
2828
}
2929

3030
/**
@@ -42,7 +42,7 @@ public static Command getStaticColorCommand(Color color, LEDStrip... ledStrips)
4242
},
4343
() -> runForLEDs(LEDStrip::clearLEDColors, ledStrips),
4444
ledStrips
45-
).ignoringDisable(true);
45+
).ignoringDisable(true).asProxy();
4646
}
4747

4848
/**
@@ -61,7 +61,7 @@ public static Command getBlinkCommand(Color color, double speed, LEDStrip... led
6161
},
6262
() -> runForLEDs(LEDStrip::clearLEDColors, ledStrips),
6363
ledStrips
64-
).ignoringDisable(true);
64+
).ignoringDisable(true).asProxy();
6565
}
6666

6767
/**
@@ -82,7 +82,7 @@ public static Command getBreatheCommand(Color color, int numberOfBreathingLEDs,
8282
},
8383
() -> runForLEDs(LEDStrip::clearLEDColors, ledStrips),
8484
ledStrips
85-
).ignoringDisable(true);
85+
).ignoringDisable(true).asProxy();
8686
}
8787

8888
/**
@@ -102,7 +102,7 @@ public static Command getColorFlowCommand(Color color, double speed, boolean inv
102102
},
103103
() -> runForLEDs(LEDStrip::clearLEDColors, ledStrips),
104104
ledStrips
105-
).ignoringDisable(true);
105+
).ignoringDisable(true).asProxy();
106106
}
107107

108108
/**
@@ -121,7 +121,7 @@ public static Command getAlternateColorCommand(Color firstColor, Color secondCol
121121
},
122122
() -> runForLEDs(LEDStrip::clearLEDColors, ledStrips),
123123
ledStrips
124-
).ignoringDisable(true);
124+
).ignoringDisable(true).asProxy();
125125
}
126126

127127
/**
@@ -139,7 +139,7 @@ public static Command getSectionColorCommand(Supplier<Color>[] colors, LEDStrip.
139139
},
140140
() -> runForLEDs(LEDStrip::clearLEDColors, ledStrips),
141141
ledStrips
142-
).ignoringDisable(true);
142+
).ignoringDisable(true).asProxy();
143143
}
144144

145145
/**
@@ -158,7 +158,7 @@ public static Command getRainbowCommand(double brightness, double speed, boolean
158158
},
159159
() -> runForLEDs(LEDStrip::clearLEDColors, ledStrips),
160160
ledStrips
161-
).ignoringDisable(true);
161+
).ignoringDisable(true).asProxy();
162162
}
163163

164164
/**

0 commit comments

Comments
 (0)