Skip to content

Commit

Permalink
MainV2: fix speech
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Apr 17, 2018
1 parent f797a9c commit a8314e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@

namespace MissionPlanner
{
class Common
public class Common
{

public static Form LoadingBox(string title, string promptText)
{
Form form = new Form();
Expand Down
4 changes: 1 addition & 3 deletions MainV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit a8314e4

Please sign in to comment.