From 3257cf169cda14292d95841fb50ac4122ea1a64c Mon Sep 17 00:00:00 2001 From: Dean Brettle Date: Thu, 23 May 2024 15:38:07 -0700 Subject: [PATCH] Change regex for non-specific SimDevice device to match any that are not covered by the specific cases. --- simulation/halsim_ws_core/doc/wpilib-ws.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulation/halsim_ws_core/doc/wpilib-ws.yaml b/simulation/halsim_ws_core/doc/wpilib-ws.yaml index 37f37578237..a3bb6e9bb8b 100644 --- a/simulation/halsim_ws_core/doc/wpilib-ws.yaml +++ b/simulation/halsim_ws_core/doc/wpilib-ws.yaml @@ -601,7 +601,7 @@ components: const: SimDevice device: type: string - format: "[^:]+" + format: "(?!(DutyCycle|CAN(Motor|Encoder|Gyro|Accel|AIn|DIO|DutyCycle)):.+).+" data: type: object additionalProperties: