Open AmeNote-Michael opened 1 year ago
Can you explain the reason this is wanted?
Can you explain the reason this is wanted?
We are being arrogant assuming that we are the only items in a full descriptor - and if anyone wants to "include" these descriptors into their own offering, it would be nice for them to just edit parameters instead of direct hex output.
For example, one project I have I use a jumper to determine if adding PicoProbe or not - I needed to figure out where sizes were and then create my own parameters to use. Thus I think it would be best to have as a parameter.
Can the TotalLength be based on a #define variable like desc_fs_configuration_length.
Then desc_fs_configuration_length could be based on further defines like:
define desc_cdc_length xx
define desc_midi1_length yy
define desc_midi2_length zz
define desc_fs_configuration_length desc_cdc_length + desc_midi1_length + desc_midi2_length