diff --git a/GlowSequencer/Usb/CommunicationUtility.cs b/GlowSequencer/Usb/CommunicationUtility.cs index 10b7335..29eead9 100644 --- a/GlowSequencer/Usb/CommunicationUtility.cs +++ b/GlowSequencer/Usb/CommunicationUtility.cs @@ -28,7 +28,7 @@ public ushort Address } set { - if(command == 0x02 && value < 16384) + if(command is 0x03 or 0x02 && value < 16384) { throw new ArgumentOutOfRangeException("Address must be greater than 0x0040 (16384) for command 0x02"); }