Update the firmware version from 20 to 2.0

This commit is contained in:
atef 2025-04-28 11:39:14 +02:00
parent 111bc2226a
commit 31c06e2815
1 changed files with 6 additions and 0 deletions

View File

@ -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)