[wpilibc] Fix missing symbols on Windows (#7140)

Windows doesn't support direct static variable access across library boundaries in a mixed static/shared environment, so change to accessor functions.
This commit is contained in:
Jade
2024-10-01 22:46:06 +08:00
committed by GitHub
parent fe80d72fba
commit 466a4a52fa
5 changed files with 35 additions and 19 deletions

View File

@@ -246,7 +246,7 @@ class LEDPattern {
LEDPattern AtBrightness(double relativeBrightness);
/** A pattern that turns off all LEDs. */
static LEDPattern kOff;
static LEDPattern Off();
/**
* Creates a pattern that displays a single static color along the entire