[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

@@ -341,19 +341,19 @@ class LEDPattern {
std::initializer_list<std::pair<double, wpi::util::Color>> steps);
/** Types of gradients. */
enum GradientType {
enum class GradientType {
/**
* A continuous gradient, where the gradient wraps around to allow for
* seamless scrolling effects.
*/
kContinuous,
CONTINUOUS,
/**
* A discontinuous gradient, where the first pixel is set to the first color
* of the gradient and the final pixel is set to the last color of the
* gradient. There is no wrapping effect, so scrolling effects will display
* an obvious seam.
*/
kDiscontinuous
DISCONTINUOUS
};
/**