diff --git a/Hardware/OSRTT_Full_Code.ino.bin b/Hardware/OSRTT_Full_Code.ino.bin index 141904d..9359a82 100644 Binary files a/Hardware/OSRTT_Full_Code.ino.bin and b/Hardware/OSRTT_Full_Code.ino.bin differ diff --git a/Hardware/OSRTT_Pro_Code_1.7.ino.bin b/Hardware/OSRTT_Pro_Code_1.7.ino.bin new file mode 100644 index 0000000..4a33576 Binary files /dev/null and b/Hardware/OSRTT_Pro_Code_1.7.ino.bin differ diff --git a/OSRTT Launcher/OSRTT Launcher/Main.cs b/OSRTT Launcher/OSRTT Launcher/Main.cs index 2decb54..d94a649 100644 --- a/OSRTT Launcher/OSRTT Launcher/Main.cs +++ b/OSRTT Launcher/OSRTT Launcher/Main.cs @@ -26,9 +26,9 @@ public partial class Main : Form // CHANGE THESE VALUES WHEN ISSUING A NEW RELEASE private double boardVersion = 2.6; private double V1DLFW = 2.8; - private double ProDLFW = 1.5; + private double ProDLFW = 1.7; public int boardType = -1; - private string softwareVersion = "4.5"; + private string softwareVersion = "4.51"; // TODO // // @@ -394,7 +394,19 @@ private void getDownloadedFirmwareVersions() } } } - if (File.Exists(ProFWPath)) + if (File.Exists(ProNewFWPath)) + { + foreach (var f in Directory.GetFiles(ProNewFWPath)) + { + if (f.Contains(".ino.bin") && f.Contains("Pro")) + { + var splitName = f.Split('_'); + var splitVersion = splitName.Last().Remove(3); + ProDLFW = double.Parse(splitVersion); + } + } + } + else if (File.Exists(ProFWPath)) { foreach (var l in File.ReadAllLines(ProFWPath)) { @@ -406,15 +418,6 @@ private void getDownloadedFirmwareVersions() } } } - foreach (var f in Directory.GetFiles(ProNewFWPath)) - { - if (f.Contains(".ino.bin")) - { - var splitName = f.Split('_'); - var splitVersion = splitName.Last().Remove(3); - ProDLFW = double.Parse(splitVersion); - } - } } catch (Exception ex) { diff --git a/OSRTT Launcher/OSRTT Launcher/Properties/AssemblyInfo.cs b/OSRTT Launcher/OSRTT Launcher/Properties/AssemblyInfo.cs index d608d7f..98a755d 100644 --- a/OSRTT Launcher/OSRTT Launcher/Properties/AssemblyInfo.cs +++ b/OSRTT Launcher/OSRTT Launcher/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.5.0.0")] -[assembly: AssemblyFileVersion("4.5.0.0")] +[assembly: AssemblyVersion("4.5.1.0")] +[assembly: AssemblyFileVersion("4.5.1.0")]