Skip to content

Commit

Permalink
Fixed Problems maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkey300 committed Dec 2, 2021
1 parent 8e5763d commit b448699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/spartronics4915/frc/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class RobotContainer
public RobotContainer()
{
// ...and constructed here.
mExampleSubsystem = new ExampleSubsystem();
mExampleSubsystem = ExampleSubsystem.getInstance();
mAutoCommand = new ExampleCommand(mExampleSubsystem);

configureButtonBindings();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ExampleSubsystem()
logInitialized(success);
}

public static ExampleSubsystem getsInstance()
public static ExampleSubsystem getInstance()
{
if (sInstance == null) {
sInstance = new ExampleSubsystem();
Expand Down

0 comments on commit b448699

Please sign in to comment.