wrong serial command

This commit is contained in:
glax 2024-01-20 20:19:25 +01:00
parent 9bcfd75aa2
commit 5de7e3c0ce
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<Authors>Glax</Authors>
<RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>1.3.0</Version>
<Version>1.3.1</Version>
</PropertyGroup>
<ItemGroup>

View File

@ -16,7 +16,7 @@ public class OpenShockSerial : SerialShocker
protected override void ControlInternal(ControlAction action, string shockerId, int intensity, int duration)
{
string json = "{" +
string json = "rftransmit {" +
$"\"model\":\"{Enum.GetName(Model[shockerId])!.ToLower()}\"," +
$"\"id\":{shockerId}," +
$"\"type\":\"{ControlActionToString(action)}\"," +