Skip to content

Commit 04b70bb

Browse files
authored
Change name to HWCDC_Events.ino (From HWSerial_Events.ino) (espressif#9483)
* Create HWCDC_Events.ino * Delete libraries/ESP32/examples/HWSerial_Events/.skip.esp32 * Delete libraries/ESP32/examples/HWSerial_Events/.skip.esp32s2 * Delete libraries/ESP32/examples/HWSerial_Events/HWSerial_Events.ino * Create .skip.esp32 * Create .skip.esp32s2 * Fixes HWCDC_Events.ino * Fixes CI for S3
1 parent 93448d7 commit 04b70bb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: libraries/ESP32/examples/HWSerial_Events/HWSerial_Events.ino renamed to libraries/ESP32/examples/HWCDC_Events/HWCDC_Events.ino

+3-3
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)