MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / deviceIndex

Method deviceIndex

app/src/IO/Drivers/USB.cpp:368–371  ·  view source on GitHub ↗

* @brief Returns the index of the currently selected USB device. */

Source from the content-addressed store, hash-verified

366 * @brief Returns the index of the currently selected USB device.
367 */
368int IO::Drivers::USB::deviceIndex() const
369{
370 return m_deviceIndex;
371}
372
373/**
374 * @brief Returns the IN endpoint list with a placeholder entry at index 0.

Callers 6

getDeviceListMethod · 0.45
getConfigurationMethod · 0.45
getDeviceListMethod · 0.45
getConfigurationMethod · 0.45
getDeviceListMethod · 0.45
getConfigurationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected