Skip to content

Commit 014a6d2

Browse files
authored
Merge pull request #23 from ygoe/patch-1
Set Driver in FtdiSerialDriver.cs
2 parents 7617f5e + 88b7942 commit 014a6d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

UsbSerialForAndroid/driver/FtdiSerialDriver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public FtdiSerialDriver(UsbDevice device)
5959

6060
for (int port = 0; port < device.InterfaceCount; port++)
6161
{
62-
mPorts.Add(new FtdiSerialPort(mDevice, port));
62+
mPorts.Add(new FtdiSerialPort(mDevice, port, this));
6363
}
6464
}
6565

@@ -497,4 +497,4 @@ public static Dictionary<int, int[]> GetSupportedDevices()
497497
};
498498
}
499499
}
500-
}
500+
}

0 commit comments

Comments
 (0)