We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ce596f commit 40a0d58Copy full SHA for 40a0d58
cores/arduino/Stream.h
@@ -66,6 +66,7 @@ class Stream : public Print
66
// parsing methods
67
68
void setTimeout(unsigned long timeout); // sets maximum milliseconds to wait for stream data, default is 1 second
69
+ unsigned long getTimeout(void) { return _timeout; }
70
71
bool find(char *target); // reads data from the stream until the target string is found
72
bool find(uint8_t *target) { return find ((char *)target); }
0 commit comments