Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 1, 2023
1 parent 53eb2df commit 48c86d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static synchronized CommandScheduler getInstance() {
private final Set<Command> m_toSchedule = new LinkedHashSet<>();
private final Set<Command> m_toCancel = new LinkedHashSet<>();
private final Set<Command> m_cancelling = new LinkedHashSet<>();

private final Watchdog m_watchdog = new Watchdog(TimedRobot.kDefaultPeriod, () -> {});

CommandScheduler() {
Expand Down Expand Up @@ -462,7 +462,7 @@ public void cancel(Command... commands) {
if (!isScheduled(command)) {
continue;
}

m_cancelling.add(command);
command.end(true);
m_cancelling.remove(command);
Expand Down

0 comments on commit 48c86d8

Please sign in to comment.