File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ void serialEvent(void) {}
37
37
#ifndef RX1
38
38
#if CONFIG_IDF_TARGET_ESP32
39
39
#define RX1 9
40
- #elif CONFIG_IDF_TARGET_ESP32S2
40
+ #elif CONFIG_IDF_TARGET_ESP32S2
41
41
#define RX1 18
42
42
#elif CONFIG_IDF_TARGET_ESP32C3
43
43
#define RX1 18
@@ -86,8 +86,6 @@ void serialEvent2(void) {}
86
86
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
87
87
#if ARDUINO_USB_CDC_ON_BOOT // Serial used for USB CDC
88
88
HardwareSerial Serial0 (0 );
89
- #elif ARDUINO_HW_CDC_ON_BOOT
90
- HardwareSerial Serial0 (0 );
91
89
#else
92
90
HardwareSerial Serial (0 );
93
91
#endif
@@ -102,8 +100,6 @@ void serialEventRun(void)
102
100
{
103
101
#if ARDUINO_USB_CDC_ON_BOOT // Serial used for USB CDC
104
102
if (Serial0.available ()) serialEvent ();
105
- #elif ARDUINO_HW_CDC_ON_BOOT
106
- if (Serial0.available ()) serialEvent ();
107
103
#else
108
104
if (Serial.available ()) serialEvent ();
109
105
#endif
You can’t perform that action at this time.
0 commit comments