MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / getDeviceName

Function getDeviceName

lib/usb/usbfinder.cc:69–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69std::string getDeviceName(DeviceType type)
70{
71 switch (type)
72 {
73 case DEVICE_GREASEWEAZLE:
74 return "Greaseweazle";
75
76 case DEVICE_FLUXENGINE:
77 return "FluxEngine";
78
79 case DEVICE_APPLESAUCE:
80 return "Applesauce";
81
82 default:
83 return "unknown";
84 }
85}

Callers 3

mainTestDevicesFunction · 0.85
probeDevicesMethod · 0.85
UpdateSourcesMethod · 0.85

Calls

no outgoing calls

Tested by 1

mainTestDevicesFunction · 0.68