We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0afc6bd commit 466355cCopy full SHA for 466355c
src/arduino/Adafruit_USBD_Device.cpp
@@ -126,6 +126,8 @@ void Adafruit_USBD_Device::setSerialDescriptor(const char *s) {
126
_desc_str_arr[STRID_SERIAL] = s;
127
}
128
129
+// Add a string descriptor to the device's pool
130
+// Return string index
131
uint8_t Adafruit_USBD_Device::addStringDescriptor(const char *s) {
132
if (_desc_str_count >= STRING_DESCRIPTOR_MAX || s == NULL) {
133
return 0;
0 commit comments