Skip to content

Commit e07d83f

Browse files
chore: update native OpenRGB
1 parent 90c61a2 commit e07d83f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<NoWarn>NU1507</NoWarn>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageVersion Include="ChromaControl.Native.OpenRGB" Version="1.0.4" />
7+
<PackageVersion Include="ChromaControl.Native.OpenRGB" Version="1.0.5" />
88
<PackageVersion Include="Microsoft.AspNetCore.Connections.Abstractions" Version="8.0.7" />
99
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
1010
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" />

src/ChromaControl.SDK.OpenRGB/Internal/Packets/UpdateLeds.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public bool TryParse(ref SequenceReader<byte> input, uint deviceIndex)
3434

3535
public readonly void WriteToBuffer(IBufferWriter<byte> output)
3636
{
37-
output.Write(16 + Length);
37+
output.Write(Length);
3838
output.Write((ushort)Colors.Length);
3939

4040
for (ushort i = 0; i < Colors.Length; i++)

src/ChromaControl.SDK.OpenRGB/Internal/Packets/UpdateZoneLeds.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public bool TryParse(ref SequenceReader<byte> input, uint deviceIndex)
3737

3838
public readonly void WriteToBuffer(IBufferWriter<byte> output)
3939
{
40-
output.Write(16 + Length);
40+
output.Write(Length);
4141
output.Write(ZoneIndex);
4242
output.Write((ushort)Colors.Length);
4343

0 commit comments

Comments
 (0)