int SendInterfaces() { u8 interfaces = 0; CDC_GetInterface(&interfaces); #ifdef PLUGGABLE_USB_ENABLED PUSB_GetInterface(&interfaces); #endif return interfaces; }
static u8 SendInterfaces() { u8 interfaces = 0; CDC_GetInterface(&interfaces); #ifdef PLUGGABLE_USB_ENABLED PluggableUSB().getInterface(&interfaces); #endif return interfaces; }
uint8_t USBDeviceClass::SendInterfaces(uint32_t* total) { uint8_t interfaces = 0; #if defined(CDC_ENABLED) total[0] += CDC_GetInterface(&interfaces); #endif #ifdef PLUGGABLE_USB_ENABLED total[0] += PluggableUSB().getInterface(&interfaces); #endif return interfaces; }
int SendInterfaces() { int total = 0; u8 interfaces = 0; #ifdef CDC_ENABLED total = CDC_GetInterface(&interfaces); #endif #ifdef HID_ENABLED total += HID_GetInterface(&interfaces); #endif return interfaces; }
int SendInterfaces() { int total = 0; uint8_t interfaces = 0; #ifdef CDC_ENABLED total = CDC_GetInterface(&interfaces); #endif #ifdef HID_ENABLED total += HID_GetInterface(&interfaces); #endif UNUSED(total); return (interfaces); }