aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox
diff options
context:
space:
mode:
authorKyle Smith <kyle.smith@acquia.com>2016-12-14 23:24:40 -0500
committerKyle Smith <kyle.smith@acquia.com>2016-12-14 23:29:33 -0500
commit83e613ad239459582ae28f78b6c81535b9b138d7 (patch)
tree0243dab3adc1d32e951e7536ab4b9283e4c31dd7 /keyboards/ergodox
parent20892bf706219f19a5f9cd34abd4f772ab4ee570 (diff)
downloadfirmware-83e613ad239459582ae28f78b6c81535b9b138d7.tar.gz
firmware-83e613ad239459582ae28f78b6c81535b9b138d7.tar.bz2
firmware-83e613ad239459582ae28f78b6c81535b9b138d7.zip
Allow power consumption to be set per-keyboard.
Diffstat (limited to 'keyboards/ergodox')
-rw-r--r--keyboards/ergodox/ez/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/ergodox/ez/config.h b/keyboards/ergodox/ez/config.h
index c2750a321..a3dc5bf15 100644
--- a/keyboards/ergodox/ez/config.h
+++ b/keyboards/ergodox/ez/config.h
@@ -56,6 +56,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
+#define USB_MAX_POWER_CONSUMPTION 50
+
/*
* Feature disable options
* These options are also useful to firmware size reduction.