mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Merge branch 'master' into HEAD
This commit is contained in:
commit
82fe44d76d
@ -129,7 +129,7 @@ void Serial_::end(void)
|
|||||||
int Serial_::available(void)
|
int Serial_::available(void)
|
||||||
{
|
{
|
||||||
if (peek_buffer >= 0) {
|
if (peek_buffer >= 0) {
|
||||||
return 1;
|
return 1 + USB_Available(CDC_RX);
|
||||||
}
|
}
|
||||||
return USB_Available(CDC_RX);
|
return USB_Available(CDC_RX);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user