[wpilib] Rename LEDPattern constants to all caps

This commit is contained in:
Peter Johnson
2026-03-20 22:59:58 -07:00
parent d05d3b1c78
commit 1925cf0e1f
5 changed files with 23 additions and 23 deletions

View File

@@ -297,10 +297,10 @@ LEDPattern LEDPattern::Gradient(GradientType type,
auto bufLen = data.size();
int ledsPerSegment = 0;
switch (type) {
case kContinuous:
case GradientType::CONTINUOUS:
ledsPerSegment = bufLen / numSegments;
break;
case kDiscontinuous:
case GradientType::DISCONTINUOUS:
ledsPerSegment = (bufLen - 1) / (numSegments - 1);
break;
}