Skip to content

Commit 24de9d1

Browse files
committed
Editted out the variable that saved joystick channel for greater alignment
1 parent ca7e674 commit 24de9d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

relay/robot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ def robotInit(self):
1818

1919
self.relay = wpilib.Relay(0)
2020

21-
self.joystickChannel = 0
22-
self.joystick = wpilib.Joystick(self.joystickChannel)
21+
self.joystick = wpilib.Joystick(0)
2322

2423
self.relayForwardButton = 1
2524
self.relayReverseButton = 2

0 commit comments

Comments
 (0)