Skip to content

Commit e1a5855

Browse files
committed
Modified reference to Leonardo only in the examples
According to #3786 removed the reference to Leonardo only in while(!Serial) of the examples. Changed in in "wait for serial port to connect. Needed for native USB port only"
1 parent a991d4c commit e1a5855

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

examples/AdvancedChatServer/AdvancedChatServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void setup() {
4848
// Open serial communications and wait for port to open:
4949
Serial.begin(9600);
5050
while (!Serial) {
51-
; // wait for serial port to connect. Needed for Leonardo only
51+
; // wait for serial port to connect. Needed for native USB port only
5252
}
5353

5454

examples/ChatServer/ChatServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void setup() {
4444
// Open serial communications and wait for port to open:
4545
Serial.begin(9600);
4646
while (!Serial) {
47-
; // wait for serial port to connect. Needed for Leonardo only
47+
; // wait for serial port to connect. Needed for native USB port only
4848
}
4949

5050

examples/DhcpAddressPrinter/DhcpAddressPrinter.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void setup() {
3535
Serial.begin(9600);
3636
// this check is only needed on the Leonardo:
3737
while (!Serial) {
38-
; // wait for serial port to connect. Needed for Leonardo only
38+
; // wait for serial port to connect. Needed for native USB port only
3939
}
4040

4141
// start the Ethernet connection:

examples/DhcpChatServer/DhcpChatServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void setup() {
4343
Serial.begin(9600);
4444
// this check is only needed on the Leonardo:
4545
while (!Serial) {
46-
; // wait for serial port to connect. Needed for Leonardo only
46+
; // wait for serial port to connect. Needed for native USB port only
4747
}
4848

4949

examples/TelnetClient/TelnetClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void setup() {
4343
// Open serial communications and wait for port to open:
4444
Serial.begin(9600);
4545
while (!Serial) {
46-
; // wait for serial port to connect. Needed for Leonardo only
46+
; // wait for serial port to connect. Needed for native USB port only
4747
}
4848

4949

examples/UdpNtpClient/UdpNtpClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void setup() {
4343
// Open serial communications and wait for port to open:
4444
Serial.begin(9600);
4545
while (!Serial) {
46-
; // wait for serial port to connect. Needed for Leonardo only
46+
; // wait for serial port to connect. Needed for native USB port only
4747
}
4848

4949

examples/WebClient/WebClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void setup() {
3737
// Open serial communications and wait for port to open:
3838
Serial.begin(9600);
3939
while (!Serial) {
40-
; // wait for serial port to connect. Needed for Leonardo only
40+
; // wait for serial port to connect. Needed for native USB port only
4141
}
4242

4343
// start the Ethernet connection:

examples/WebClientRepeating/WebClientRepeating.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void setup() {
5151
// start serial port:
5252
Serial.begin(9600);
5353
while (!Serial) {
54-
; // wait for serial port to connect. Needed for Leonardo only
54+
; // wait for serial port to connect. Needed for native USB port only
5555
}
5656

5757
// give the ethernet module time to boot up:

examples/WebServer/WebServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void setup() {
3636
// Open serial communications and wait for port to open:
3737
Serial.begin(9600);
3838
while (!Serial) {
39-
; // wait for serial port to connect. Needed for Leonardo only
39+
; // wait for serial port to connect. Needed for native USB port only
4040
}
4141

4242

0 commit comments

Comments
 (0)