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

Method isWritable

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

* @brief Returns true if the device is open and an OUT endpoint is active. */

Source from the content-addressed store, hash-verified

285 * @brief Returns true if the device is open and an OUT endpoint is active.
286 */
287bool IO::Drivers::USB::isWritable() const noexcept
288{
289 return m_handle != nullptr && m_activeOutEp != 0;
290}
291
292/**
293 * @brief Returns true when a device is selected and the connect button should be enabled.

Callers 5

Concepts.hFile · 0.45
writeRawDataMethod · 0.45
broadcastEventMethod · 0.45
writeToSocketMethod · 0.45
processItemsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected