Skip to content

Commit

Permalink
build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kGoel647 committed Feb 21, 2025
1 parent 83f0d77 commit 1c101ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/y2025/cpp/subsystems/hardware/leds.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ void LEDsSubsystem::WriteToHardware(TLTGT target) {
Flash(SLOW_FLASH);
} else if (tgt->state == kLEDsHavePiece) {
SetRainbow();
} else if (target.state == kisLinedUp) {
SetStrip(GREEN);
Flash(MED_FLASH);
} else if (tgt->state == kisLinedUp) {
SetStrip(GREEN);
Flash(MED_FLASH);
}
} else if (auto* tgt = std::get_if<LEDsCoastingTarget>(&target)) {
for (int i = 0; i < (int)(kLength * tgt->percent); i++) {
Expand Down

0 comments on commit 1c101ab

Please sign in to comment.