Only ask for 100ma to cut down on power draw over USB

pull/18/head
Jesse Vincent 11 years ago
parent 049901b4b8
commit adedb963b3

@ -24,6 +24,7 @@
extern int usbMaxPower;
//#define DEBUG_SERIAL false //#define DEBUG_SERIAL false
@ -372,6 +373,7 @@ void report(byte row, byte col, boolean value)
void setup() void setup()
{ {
usbMaxPower = 100;
Serial.begin(115200); Serial.begin(115200);
Keyboard.begin(); Keyboard.begin();
Mouse.begin(); Mouse.begin();

Loading…
Cancel
Save