Skip to content

Commit 95f95c5

Browse files
authored
feat(hw_cdc): formating text code
Applying Code style and formating.
1 parent f949cd8 commit 95f95c5

File tree

1 file changed

+8
-2
lines changed
  • idf_component_examples/hw_cdc_hello_world/main

1 file changed

+8
-2
lines changed

idf_component_examples/hw_cdc_hello_world/main/main.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
#include <Arduino.h>
22

33
void setup() {
4-
Serial.begin(); // USB CDC doens't need a baud rate
5-
while(!Serial) delay(100); // wait for the Serial Monitor to be open
4+
// USB CDC doens't need a baud rate
5+
Serial.begin();
6+
7+
// wait for the Serial Monitor to be open
8+
while(!Serial) {
9+
delay(100);
10+
}
11+
612
Serial.println("\r\nStarting...\r\n");
713
}
814

0 commit comments

Comments
 (0)