Skip to content

Commit 2e9873d

Browse files
committed
update default value
1 parent d3e5a49 commit 2e9873d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CommEx/Serial/ViewModels/PortViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ private void Initialize(SerialPort serialPort = null, ISerialControl serialContr
412412
}
413413
if (serialControl == null)
414414
{
415-
controller = new BidsSerial();
415+
controller = (ISerialControl)c2iconv.ConvertTo(Enum.GetValues(typeof(Controller)).Cast<int>().Min(), typeof(ISerialControl));
416416
}
417417
else
418418
{

0 commit comments

Comments
 (0)