We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 986ee84 commit 62b3108Copy full SHA for 62b3108
1 file changed
UsbSerialForAndroid/driver/STM32SerialDriver.cs
@@ -95,7 +95,7 @@ public override void Open(UsbDeviceConnection connection)
95
{
96
if (!mConnection.ClaimInterface(mControlInterface, true))
97
throw new IOException("Could not claim control interface");
98
- (Driver as STM32SerialDriver).mCtrlInterf = i;
+ (Driver as STM32SerialDriver).mCtrlInterf = mControlInterface.Id;
99
controlInterfaceFound = true;
100
break;
101
}
0 commit comments