Skip to content

Commit

Permalink
Start LEDs before battery scan
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Apr 12, 2023
1 parent 0d6b38f commit 3e011e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/littletonrobotics/frc2023/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public Robot() {
@Override
public void robotInit() {
Logger logger = Logger.getInstance();
Leds.getInstance();

// Record metadata
logger.recordMetadata("Robot", Constants.getRobot().toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ public RobotContainer() {
// Check if flash should be burned
SparkMaxBurnManager.update();

// Instantiate LEDs
Leds.getInstance();

// Instantiate active subsystems
if (Constants.getMode() != Mode.REPLAY) {
switch (Constants.getRobot()) {
Expand Down

0 comments on commit 3e011e6

Please sign in to comment.