git-svn-id: svn://db.shs.com.ru/pip@946 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2020-03-11 11:45:06 +00:00
parent 9e8d95d56a
commit 85115b2ebc

View File

@@ -76,7 +76,7 @@ public:
};
struct Descriptor {
Descriptor() {memset(this, 0, sizeof(Descriptor));}
Descriptor() {usb_spec_number = 0; device_class = device_subclass = device_protocol = max_packet_size = 0; id_vendor = id_product = id_device_release = 0; index_manufacturer = index_product = index_serial = 0;}
ushort usb_spec_number;
uchar device_class;
uchar device_subclass;