summaryrefslogtreecommitdiffstats
path: root/keyboards/ymd96/usbconfig.h
diff options
context:
space:
mode:
authorHarshit Goel <harshitgoel96@yahoo.com>2018-06-01 21:07:49 +0200
committerDrashna Jaelre <drashna@live.com>2018-06-01 21:07:49 +0200
commitb36a1ef61baf857281f124e27e7d0faefb49ad13 (patch)
tree216a8b93f4980243a52444fe9d00c40c984d3f6d /keyboards/ymd96/usbconfig.h
parent74d86832c3ff5107daa015bdb7709af6256a462c (diff)
downloadqmk_firmware-b36a1ef61baf857281f124e27e7d0faefb49ad13.tar.gz
qmk_firmware-b36a1ef61baf857281f124e27e7d0faefb49ad13.tar.xz
YMD96 complete QMK port (#3105)
* readded code for YMD96 full working * added jj50 layout back
Diffstat (limited to 'keyboards/ymd96/usbconfig.h')
-rw-r--r--keyboards/ymd96/usbconfig.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/ymd96/usbconfig.h b/keyboards/ymd96/usbconfig.h
index d2d848fcd..50fe4ed11 100644
--- a/keyboards/ymd96/usbconfig.h
+++ b/keyboards/ymd96/usbconfig.h
@@ -118,7 +118,8 @@ section at the end of this file).
/* Define this to 1 if the device has its own power supply. Set it to 0 if the
* device is powered from the USB bus.
*/
-#define USB_CFG_MAX_BUS_POWER 500
+// max power draw with maxed white underglow measured at 120 mA (peaks)
+#define USB_CFG_MAX_BUS_POWER 100
/* Set this variable to the maximum USB bus power consumption of your device.
* The value is in milliamperes. [It will be divided by two since USB
* communicates power requirements in units of 2 mA.]