esp32-s2_dfu/src/class
Jerzy Kasenberg c7469ce986 dfu: Allow DFU coexistence with other interfaces
dfu_moded_open() only works correct when its called on DFU interface
descriptor. It means that DFU is the only one interface in configuration
or driver is called after all others interface drivers were tried and
gave up.

If other interface is supported and but driver for DFU is called first
(this is the case for BTH and RNDIS).
Code after while loop (that was not entered) has an TU_ASSERT that will
make set_configuration to fail.

Now TU_VERIFY is called first to make sure open code is called for DFU
only and not other interface descriptors like in other drivers.
2022-08-09 10:42:30 +02:00
..
audio Merge pull request #1514 from maddyaby/audiod_typo 2022-07-19 17:10:45 +07:00
bth rhport argument in usbd_ API() is not used (always use the initialized port) 2022-06-02 16:51:17 +07:00
cdc fix all warnings with host rp2040 2022-06-27 17:11:24 +07:00
dfu dfu: Allow DFU coexistence with other interfaces 2022-08-09 10:42:30 +02:00
hid temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for up coming release 2022-07-17 22:56:07 +07:00
midi fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
msc fix all warnings with host rp2040 2022-06-27 17:11:24 +07:00
net suppress error with net example 2022-06-27 20:30:47 +07:00
usbtmc USBTMC: explicit type conversions fix 2022-07-09 17:50:17 -04:00
vendor fix all device examples warnings 2022-06-27 13:48:47 +07:00
video fix all device examples warnings 2022-06-27 13:48:47 +07:00