Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit 88efe63

Browse files
committed
added end() to the interrupted() in the commands as per request
1 parent 82a0615 commit 88efe63

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/ShiftDriveType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ protected void end() {
4444
// Called when another command which requires one or more of the same
4545
// subsystems is scheduled to run
4646
protected void interrupted() {
47+
end();
4748
}
4849
}

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/ShiftHighGear.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ protected void end() {
4444
// Called when another command which requires one or more of the same
4545
// subsystems is scheduled to run
4646
protected void interrupted() {
47+
end();
4748
}
4849
}

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/ShiftLowGear.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ protected void end() {
4444
// Called when another command which requires one or more of the same
4545
// subsystems is scheduled to run
4646
protected void interrupted() {
47+
end();
4748
}
4849
}

0 commit comments

Comments
 (0)