diff --git a/Common.cs b/Common.cs index 674183245a..69d47dfb99 100644 --- a/Common.cs +++ b/Common.cs @@ -10,9 +10,8 @@ namespace MissionPlanner { - class Common + public class Common { - public static Form LoadingBox(string title, string promptText) { Form form = new Form(); diff --git a/MainV2.cs b/MainV2.cs index 9c9dbed916..63fc165ae8 100644 --- a/MainV2.cs +++ b/MainV2.cs @@ -610,8 +610,6 @@ public MainV2() var t = Type.GetType("Mono.Runtime"); MONO = (t != null); - speechEngine = new Speech(); - Warnings.CustomWarning.defaultsrc = comPort.MAV.cs; Warnings.WarningEngine.Start(); @@ -3171,7 +3169,7 @@ private void BGFirmwareCheck(object state) var fw = new Firmware(); var list = fw.getFWList(); if (list.Count > 1) - Firmware.SaveSoftwares(list); + Firmware.SaveSoftwares(new Firmware.optionsObject() { softwares = list }); Settings.Instance["fw_check"] = DateTime.Now.ToShortDateString(); }