Skip to content

Commit f90f586

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 71ef989 commit f90f586

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

idf_component_examples/hw_cdc_hello_world/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Below is the minimum list of files in the project folder.
3434
```
3535
├── CMakeLists.txt Global project CMake configuration file
3636
├── sdkconfig.defaults sdkconfig setting for an Arduino project
37-
├── main
37+
├── main
3838
│   ├── CMakeLists.txt Arduino sketch CMake configuration file
3939
│ ├── idf_component.yml List of IDF components necessary to build the project
4040
│   └── main.cpp Arduino Sketch code - don't forget to add "#include <Arduino.h>" on it
@@ -60,4 +60,4 @@ list(APPEND compile_definitions "ARDUINO_USB_MODE=1")
6060

6161
Those two lines will add a `-DSYMBOL=VAL` when compiling every source code file.
6262

63-
In order to make sure that it is actually working correctly, the [sketch](main/main.cpp) will execute `Serial.begin();` with no baudrate, which only works for USB CDC.
63+
In order to make sure that it is actually working correctly, the [sketch](main/main.cpp) will execute `Serial.begin();` with no baudrate, which only works for USB CDC.

idf_component_examples/hw_cdc_hello_world/main/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
void setup() {
44
// USB CDC doens't need a baud rate
55
Serial.begin();
6-
6+
77
// wait for the Serial Monitor to be open
8-
while(!Serial) {
8+
while (!Serial) {
99
delay(100);
1010
}
11-
11+
1212
Serial.println("\r\nStarting...\r\n");
1313
}
1414

0 commit comments

Comments
 (0)