From 9e1de1083ef2ded0fa8849682e2b4c0e3f0ea890 Mon Sep 17 00:00:00 2001 From: github-actions <> Date: Tue, 9 Jan 2024 20:54:46 +0000 Subject: [PATCH] Google Java Format --- src/main/java/frc/robot/subsystems/led/LEDSubsystem.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/led/LEDSubsystem.java b/src/main/java/frc/robot/subsystems/led/LEDSubsystem.java index 2ca83e4..0040d16 100644 --- a/src/main/java/frc/robot/subsystems/led/LEDSubsystem.java +++ b/src/main/java/frc/robot/subsystems/led/LEDSubsystem.java @@ -32,8 +32,12 @@ public void initialize() { ledSegments.add(LEDSegment.BackRight); ledSegments.add(LEDSegment.FrontRight); - ledBuffer = new AddressableLEDBuffer( - (ledSegments.size() * LEDConstants.ledsPerSegment)); // Set the buffer size after we know how many segments there are + ledBuffer = + new AddressableLEDBuffer( + (ledSegments.size() + * LEDConstants + .ledsPerSegment)); // Set the buffer size after we know how many segments there + // are leds.setLength( (ledSegments.size() * LEDConstants.ledsPerSegment)); // Set the length of the LED strip