Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hey guys. I'm working on a battery-powered project using the USBDevice library, and the only way I can set the maximum power for a self-powered HID device is to inherit from USBHID and override configurationDesc() with my own implementation that's identical except for the bMaxPower field. Is there any way that field could be set in the constructor?