changed serialAvailable to serialAnyAvailable which does not calculate the number of bytes, only if there are any at all
This commit is contained in:
parent
defabc80ed
commit
ee3139d283
2 changed files with 5 additions and 34 deletions
2
serial.h
2
serial.h
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
void beginSerial(long);
|
||||
void serialWrite(unsigned char);
|
||||
int serialAvailable(void);
|
||||
int serialAnyAvailable(void);
|
||||
int serialRead(void);
|
||||
void serialFlush(void);
|
||||
void printMode(int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue