Skip to content

Commit e5ae023

Browse files
authored
Merge pull request #386 from earlephilhower/gccwarn
Fix GCC 12.3 warning in USB Video core
2 parents 2e5fb95 + 8dc1275 commit e5ae023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arduino/video/Adafruit_USBD_Video.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ uint16_t Adafruit_USBD_Video::getInterfaceDescriptor(uint8_t itfnum_deprecated,
230230
.bDescriptorType = TUSB_DESC_ENDPOINT,
231231

232232
.bEndpointAddress = ep_in,
233-
.bmAttributes = {.xfer = TUSB_XFER_BULK, .sync = 0},
233+
.bmAttributes = {.xfer = TUSB_XFER_BULK, .sync = 0, .usage = 0},
234234
.wMaxPacketSize = 64,
235235
.bInterval = 1}};
236236

0 commit comments

Comments
 (0)