mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpiutil] Rename Color constants to all caps
This commit is contained in:
@@ -42,7 +42,7 @@ class MyRobot(wpilib.TimedRobot):
|
||||
"elevator", self.kElevatorMinimumLength, 90
|
||||
)
|
||||
self.wrist = self.elevator.appendLigament(
|
||||
"wrist", 0.5, 90, 6, wpiutil.Color8Bit(wpiutil.Color.kPurple)
|
||||
"wrist", 0.5, 90, 6, wpiutil.Color8Bit(wpiutil.Color.PURPLE)
|
||||
)
|
||||
|
||||
# post the mechanism to the dashboard
|
||||
|
||||
Reference in New Issue
Block a user