Skip to content

Commit

Permalink
Update CreateInstanceForSerial constructor for .NET lib (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Feb 12, 2019
1 parent 8bddd46 commit e3107a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ namespace nanoFramework.Tools.Debugger
{
public abstract partial class PortBase
{
public static PortBase CreateInstanceForSerial(string displayName, object callerApp = null)
public static PortBase CreateInstanceForSerial(string displayName, object callerApp = null, bool startDeviceWatchers = true)
{
return new SerialPort(callerApp);
return new SerialPort(callerApp, startDeviceWatchers);
}
}
}

0 comments on commit e3107a7

Please sign in to comment.