Skip to content

Commit 68bbcb1

Browse files
committed
Coverity changes in USBDevice.cpp
1 parent 5674797 commit 68bbcb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/source/usb/USBDevice.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,7 @@ USBDevice::USBDevice(USBPhy *phy, uint16_t vendor_id, uint16_t product_id, uint1
12721272
_current_alternate = 0;
12731273
_locked = 0;
12741274
_post_process = NULL;
1275+
_max_packet_size_ep0 = 0;
12751276

12761277
/* Set initial device state */
12771278
_device.state = Powered;

0 commit comments

Comments
 (0)