Skip to content

Commit

Permalink
Fixed format string for .ToString in J2534 init.
Browse files Browse the repository at this point in the history
  • Loading branch information
LegacyNsfw committed Aug 24, 2019
1 parent e723339 commit f7d9af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Apps/PcmHammer/Devices/J2534Device.cs
Expand Up @@ -148,7 +148,7 @@ private bool InitializeInternal()
m = ConnectToProtocol(ProtocolID.J1850VPW, BaudRate.J1850VPW_10400, ConnectFlag.NONE);
if (m.Status != ResponseStatus.Success)
{
this.Logger.AddDebugMessage("Failed to set protocol, J2534 error code: 0x" + m.Value.ToString("X2"));
this.Logger.AddDebugMessage("Failed to set protocol, J2534 error code: 0x" + m.Value.ToString("X"));
return false;
}
this.Logger.AddDebugMessage("Protocol Set");
Expand Down

0 comments on commit f7d9af8

Please sign in to comment.