Merge pull request #11449 from Tharazi97/Coverity_USBDevice

Coverity changes in USBDevice.cpp
pull/11455/head
Martin Kojtal 2019-09-10 19:30:40 +02:00 committed by GitHub
commit 4c3b65dc54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1272,6 +1272,7 @@ USBDevice::USBDevice(USBPhy *phy, uint16_t vendor_id, uint16_t product_id, uint1
_current_alternate = 0;
_locked = 0;
_post_process = NULL;
_max_packet_size_ep0 = 0;
/* Set initial device state */
_device.state = Powered;