Skip to content

Commit 8318da3

Browse files
committed
Remove is connected method.
1 parent fb16a9b commit 8318da3

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Diff for: cores/arduino/USBSerial.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,6 @@ bool USBSerial::rts(void)
187187
return false;
188188
}
189189

190-
bool USBSerial::isConnected()
191-
{
192-
return CDC_connected();
193-
}
194-
195190
USBSerial::operator bool()
196191
{
197192
bool result = false;

Diff for: cores/arduino/USBSerial.h

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class USBSerial : public Stream {
5353
uint8_t numbits();
5454
bool dtr();
5555
bool rts();
56-
bool isConnected();
5756
enum {
5857
ONE_STOP_BIT = 0,
5958
ONE_AND_HALF_STOP_BIT = 1,

0 commit comments

Comments
 (0)