Update the firmware version from 20 to 2.0
This commit is contained in:
parent
111bc2226a
commit
31c06e2815
|
|
@ -41,6 +41,12 @@ public class TelemetryFrameParser
|
|||
try
|
||||
{
|
||||
versionAscii = HexToAscii(versionBytes);
|
||||
|
||||
if (versionAscii.Length >= 2)
|
||||
{
|
||||
// Insert a dot between the first and second character
|
||||
versionAscii = versionAscii[..1] + "." + versionAscii.Substring(1, 1);
|
||||
}
|
||||
// Console.WriteLine($"Firmware version: {versionBytes} (Hex), ASCII: {versionAscii}");
|
||||
}
|
||||
catch (Exception)
|
||||
|
|
|
|||
Loading…
Reference in New Issue