Skip to content

Commit d4ff30c

Browse files
committed
Update Adafruit_USBD_Device.cpp
1 parent 5f26930 commit d4ff30c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/arduino/Adafruit_USBD_Device.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,11 +321,11 @@ uint16_t const *Adafruit_USBD_Device::descriptor_string_cb(uint8_t index,
321321
break;
322322

323323
case STRID_SERIAL:
324-
if (!_desc_str_arr[STRID_SERIAL]) {
325-
chr_count = getSerialDescriptor(_desc_str);
326-
break;
327-
}
328-
// else we have a serial string, treat as all others, fall through
324+
if (!_desc_str_arr[STRID_SERIAL]) {
325+
chr_count = getSerialDescriptor(_desc_str);
326+
break;
327+
}
328+
// else we have a serial string, treat as all others, fall through
329329

330330
default:
331331
// Invalid index

0 commit comments

Comments
 (0)