From cbca4fd7dee0745a1d38ad6a627a225f0f866f81 Mon Sep 17 00:00:00 2001 From: glax Date: Sun, 11 Feb 2024 23:24:25 +0100 Subject: [PATCH] ValidIntensityRange and ValidDurationRange internal readonly --- CShocker/CShocker.csproj | 2 +- CShocker/Devices/Abstract/Api.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CShocker/CShocker.csproj b/CShocker/CShocker.csproj index f3868f4..a1cda3d 100644 --- a/CShocker/CShocker.csproj +++ b/CShocker/CShocker.csproj @@ -7,7 +7,7 @@ Glax https://github.com/C9Glax/CShocker git - 2.3.0 + 2.3.1 diff --git a/CShocker/Devices/Abstract/Api.cs b/CShocker/Devices/Abstract/Api.cs index ed1952f..0f9674d 100644 --- a/CShocker/Devices/Abstract/Api.cs +++ b/CShocker/Devices/Abstract/Api.cs @@ -15,7 +15,7 @@ public abstract class Api : IDisposable // ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable private readonly Thread _workQueueThread; private const short CommandDelay = 50; - public IntegerRange ValidIntensityRange, ValidDurationRange; + internal readonly IntegerRange ValidIntensityRange, ValidDurationRange; internal void Control(ControlAction action, int intensity, int duration, params Shocker[] shockers) {