diff --git a/Grid/GridUI.cs b/Grid/GridUI.cs index c9f75dcaa6..b26c7daa99 100644 --- a/Grid/GridUI.cs +++ b/Grid/GridUI.cs @@ -570,7 +570,7 @@ private async void domainUpDown1_ValueChanged(object sender, EventArgs e) (double)NUM_Distance.Value, (double)NUM_spacing.Value, (double)NUM_angle.Value, (double)NUM_overshoot.Value, (double)NUM_overshoot2.Value, (Utilities.Grid.StartPosition)Enum.Parse(typeof(Utilities.Grid.StartPosition), CMB_startfrom.Text), false, - (float)NUM_Lane_Dist.Value, (float)NUM_leadin.Value, MainV2.comPort.MAV.cs.HomeLocation).ConfigureAwait(false); + (float)NUM_Lane_Dist.Value, (float)NUM_leadin.Value, MainV2.comPort.MAV.cs.HomeLocation); } else { @@ -578,7 +578,7 @@ private async void domainUpDown1_ValueChanged(object sender, EventArgs e) (double)NUM_Distance.Value, (double)NUM_spacing.Value, (double)NUM_angle.Value, (double)NUM_overshoot.Value, (double)NUM_overshoot2.Value, (Utilities.Grid.StartPosition)Enum.Parse(typeof(Utilities.Grid.StartPosition), CMB_startfrom.Text), false, - (float)NUM_Lane_Dist.Value, (float)NUM_leadin.Value, MainV2.comPort.MAV.cs.HomeLocation).ConfigureAwait(false); + (float)NUM_Lane_Dist.Value, (float)NUM_leadin.Value, MainV2.comPort.MAV.cs.HomeLocation); } map.HoldInvalidation = true; diff --git a/Log/LogBrowse.cs b/Log/LogBrowse.cs index da0bbbabad..411d614d06 100644 --- a/Log/LogBrowse.cs +++ b/Log/LogBrowse.cs @@ -1055,7 +1055,7 @@ void GraphItem_GetList(string fieldname, string type, DFLog dflog, DataModifer d double b = 0; DateTime screenupdate = DateTime.MinValue; double value_prev = 0; - + foreach (var item in logdata.GetEnumeratorType(type)) { b = item.lineno;