Proposal: specify power consumption in USBDevice Library

14 Apr 2014

Currently the USBDevice library (or at least the USBHID portion of it) lies about being self-powered and drawing 0ma. I realize every USB hard drive ever made does this, and it's certainly fine for hobbying, but it's not fine for a production device. My proposal is that the API be changed to allow the maximum power consumption to be specified in the constructor.