We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b88092 commit 4d62e48Copy full SHA for 4d62e48
cores/esp32/USB.cpp
@@ -34,7 +34,7 @@
34
#define USB_PRODUCT ARDUINO_BOARD
35
#endif
36
#ifndef USB_SERIAL
37
-#if CONFIG_IDF_TARGET_ESP32S3
+#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
38
#define USB_SERIAL "__MAC__"
39
#else
40
#define USB_SERIAL "0"
@@ -160,7 +160,7 @@ ESPUSB::~ESPUSB(){
160
161
bool ESPUSB::begin(){
162
if(!_started){
163
164
if(serial_number == "__MAC__"){
165
StreamString s;
166
uint8_t m[6];
0 commit comments