Skip to content

Commit 2cc0473

Browse files
authored
Merge branch 'espressif:master' into main
2 parents 84a0d79 + 04b70bb commit 2cc0473

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

libraries/ESP32/examples/HWSerial_Events/HWSerial_Events.ino renamed to libraries/ESP32/examples/HWCDC_Events/HWCDC_Events.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ const char* HWCDC_Status() {
6363
}
6464

6565
void setup() {
66+
HWCDCSerial.onEvent(usbEventCallback);
67+
HWCDCSerial.begin();
68+
6669
Serial0.begin(115200);
6770
Serial0.setDebugOutput(true);
68-
69-
HWCDCSerial.begin();
70-
HWCDCSerial.onEvent(usbEventCallback);
7171
Serial0.println("Starting...");
7272
}
7373

0 commit comments

Comments
 (0)