Mercurial > hg > ucis.core
diff USBLib/Communication/WindowsUsbDeviceRegistry.cs @ 64:99ed461509fe
Fixed data type for USB vendor and product IDs
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Sun, 13 Oct 2013 20:03:05 +0200 |
parents | df5534af12e9 |
children |
line wrap: on
line diff
--- a/USBLib/Communication/WindowsUsbDeviceRegistry.cs Sun Oct 13 18:43:45 2013 +0200 +++ b/USBLib/Communication/WindowsUsbDeviceRegistry.cs Sun Oct 13 20:03:05 2013 +0200 @@ -70,13 +70,13 @@ mInterfaceID = (Byte)mid; mIsDeviceIDParsed = true; } - public int Vid { + public UInt16 Vid { get { parseDeviceID(); return mVid; } } - public int Pid { + public UInt16 Pid { get { parseDeviceID(); return mPid;