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

Method setTimeoutMs

app/src/IO/FileTransmission/ZMODEM.cpp:384–387  ·  view source on GitHub ↗

* @brief Sets the timeout in milliseconds. */

Source from the content-addressed store, hash-verified

382 * @brief Sets the timeout in milliseconds.
383 */
384void IO::Protocols::ZMODEM::setTimeoutMs(int ms)
385{
386 m_timeoutMs = qMax(1000, ms);
387}
388
389/**
390 * @brief Returns the maximum number of retries.

Callers 1

beginTransmissionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected