Skip to content

Commit

Permalink
Fix CSV logging again
Browse files Browse the repository at this point in the history
  • Loading branch information
kutukvpavel authored and kutukvpavel committed Nov 22, 2022
1 parent 17a73a6 commit 5b34abe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
2 changes: 1 addition & 1 deletion RRGControl/Adapters/ScriptAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private set

public void Send(Packet p)
{
PacketSent?.Invoke(this, p);
if (State == ScriptAdapterState.Running) PacketSent?.Invoke(this, p);
}
public void Start()
{
Expand Down
2 changes: 1 addition & 1 deletion RRGControl/Models/Scripts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private void MAdapter_PacketSent(object? sender, Adapters.Packet e)
{
if (e.RegisterName == ConfigProvider.MeasuredRegName && item == e.UnitName)
{
line.Append($",{e.Value}");
line.Append(FormattableString.Invariant($",{e.Value}"));
}
else
{
Expand Down
17 changes: 0 additions & 17 deletions RRGControl/Properties/PublishProfiles/FolderProfile.pubxml

This file was deleted.

0 comments on commit 5b34abe

Please sign in to comment.