Code cleanup

This commit is contained in:
Gustave Monce
2019-12-22 12:25:48 +01:00
parent 0e6f905809
commit a2a1c2302b
149 changed files with 3980 additions and 4088 deletions
+4 -6
View File
@@ -6,8 +6,6 @@
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace MadWizard.WinUSBNet
{
@@ -51,9 +49,9 @@ namespace MadWizard.WinUSBNet
/// Friendly device name, or path name when no
/// further device information is available
/// </summary>
public string FullName
{
get
public string FullName
{
get
{
if (Manufacturer != null && Product != null)
return Product + " - " + Manufacturer;
@@ -127,7 +125,7 @@ namespace MadWizard.WinUSBNet
{
BaseClass = (USBBaseClass)(int)deviceDesc.bDeviceClass;
}
}