We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ac6a58 commit 60d6a17Copy full SHA for 60d6a17
1 file changed
‎include/libserial/serial.hpp‎
@@ -196,7 +196,10 @@ int getAvailableData() const;
196
* timing out. A value of 0 means no timeout (blocking).
197
*
198
* @param timeout Timeout in milliseconds
199
- * @throws SerialException if setting cannot be applied
+ *
200
+ * @note The system timeout is set in deciseconds (100ms units), so the value
201
+ * will be rounded down to the nearest multiple of 100ms. For example,
202
+ * 1549ms will be set as 1500ms.
203
*/
204
void setReadTimeout(std::chrono::milliseconds timeout);
205
0 commit comments