Skip to content

Commit 1f2b8b4

Browse files
committed
fix: Fix incorrect initializer characteristic for Launch
The Launch initialize() characteristic got changed from Cmd to Tx accidentally, causing init to fail. Change back to Cmd. Fixes #424
1 parent 405b02a commit 1f2b8b4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Buttplug.Server.Test/Bluetooth/Devices/FleshlightLaunchTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void TestInitialize()
3636
{
3737
testUtil.TestDeviceInitialize(new List<(byte[], uint)>()
3838
{
39-
(new byte[1] { 0x0 }, (uint)FleshlightLaunchBluetoothInfo.Chrs.Tx),
39+
(new byte[1] { 0x0 }, (uint)FleshlightLaunchBluetoothInfo.Chrs.Cmd),
4040
}, true);
4141
}
4242

Buttplug.Server/Bluetooth/Devices/FleshlightLaunch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public FleshlightLaunch([NotNull] IButtplugLogManager aLogManager,
109109
public override async Task<ButtplugMessage> Initialize()
110110
{
111111
BpLogger.Trace($"Initializing {Name}");
112-
var chr = (uint)FleshlightLaunchBluetoothInfo.Chrs.Tx;
112+
var chr = (uint)FleshlightLaunchBluetoothInfo.Chrs.Cmd;
113113

114114
if (Name == "Kiiroo Onyx2")
115115
{

0 commit comments

Comments
 (0)