This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
JSD
/
TinyGSM_Senseright
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Extra wait in Bee stream clear
v_master
Sara Damiano
6 years ago
parent
4fa8a43f2b
commit
de5e5e359e
1 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
src/TinyGsmClientXBee.h
+ 4
- 2
src/TinyGsmClientXBee.h
View File
@ -783,8 +783,10 @@ public:
*/
void
streamClear
(
void
)
{
TINY_GSM_YIELD
(
)
;
while
(
stream
.
available
(
)
)
{
stream
.
read
(
)
;
}
while
(
stream
.
available
(
)
)
{
stream
.
read
(
)
;
TINY_GSM_YIELD
(
)
;
}
}
template
<
typename
.
.
.
Args
>
Write
Preview
Loading…
Cancel
Save