Skip to content

Commit 12038cb

Browse files
authored
apply the same USB descriptor's iSerialNumber logic for ESP32-S2 as t… (#7563)
* apply the same USB descriptor's iSerialNumber logic for ESP32-S2 as the ESP32-S3 already has * response on request from code reviewer
1 parent a23d67a commit 12038cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/USB.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ ESPUSB::~ESPUSB(){
160160

161161
bool ESPUSB::begin(){
162162
if(!_started){
163-
#if CONFIG_IDF_TARGET_ESP32S3
163+
#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
164164
if(serial_number == "__MAC__"){
165165
StreamString s;
166166
uint8_t m[6];

0 commit comments

Comments
 (0)