Skip to content

Commit ebfe4c8

Browse files
authored
Merge pull request #60 from nicsure/main
Update STM32SerialDriver.cs Thank you!
2 parents 986ee84 + 62b3108 commit ebfe4c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

UsbSerialForAndroid/driver/STM32SerialDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public override void Open(UsbDeviceConnection connection)
9595
{
9696
if (!mConnection.ClaimInterface(mControlInterface, true))
9797
throw new IOException("Could not claim control interface");
98-
(Driver as STM32SerialDriver).mCtrlInterf = i;
98+
(Driver as STM32SerialDriver).mCtrlInterf = mControlInterface.Id;
9999
controlInterfaceFound = true;
100100
break;
101101
}

0 commit comments

Comments
 (0)