From a6040f2e5ca4a9cda30f13ce18e9932ff3b2aa54 Mon Sep 17 00:00:00 2001 From: glax Date: Sat, 20 Jan 2024 21:16:45 +0100 Subject: [PATCH] Overwrite ShockerIDs for OpenShockSerial --- CShocker/CShocker.csproj | 2 +- CShocker/Shockers/APIS/OpenShockSerial.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CShocker/CShocker.csproj b/CShocker/CShocker.csproj index 4e9ea4e..6a29902 100644 --- a/CShocker/CShocker.csproj +++ b/CShocker/CShocker.csproj @@ -7,7 +7,7 @@ Glax https://github.com/C9Glax/CShocker git - 1.3.3 + 1.3.4 diff --git a/CShocker/Shockers/APIS/OpenShockSerial.cs b/CShocker/Shockers/APIS/OpenShockSerial.cs index 03b2b19..d0424da 100644 --- a/CShocker/Shockers/APIS/OpenShockSerial.cs +++ b/CShocker/Shockers/APIS/OpenShockSerial.cs @@ -8,6 +8,7 @@ namespace CShocker.Shockers.APIS; public class OpenShockSerial : SerialShocker { + public new List ShockerIds => Model.Keys.ToList(); // ReSharper disable once MemberCanBePrivate.Global external usage public readonly Dictionary Model; private const int BaudRate = 115200;