aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ymdk_np21/config.h
diff options
context:
space:
mode:
authorGravatar fauxpark <fauxpark@gmail.com>2019-11-15 10:21:22 +1100
committerGravatar GitHub <noreply@github.com>2019-11-15 10:21:22 +1100
commit30473357290747be06e9200a7d9c751738a3b0a1 (patch)
tree7d200332f182da03d8c6a493b1378265d473e74d /keyboards/ymdk_np21/config.h
parenta2eb962704f1e87ed862a18650520df7a0fc5da8 (diff)
downloadqmk_firmware-30473357290747be06e9200a7d9c751738a3b0a1.tar.gz
Add support for configurable polling interval and power usage o… (#7336)
* Add support for custom polling interval and power usage on V-USB boards * Use 1ms as default for now
Diffstat (limited to 'keyboards/ymdk_np21/config.h')
-rw-r--r--keyboards/ymdk_np21/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/ymdk_np21/config.h b/keyboards/ymdk_np21/config.h
index 5982b6c53..30ba40081 100644
--- a/keyboards/ymdk_np21/config.h
+++ b/keyboards/ymdk_np21/config.h
@@ -41,6 +41,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define NO_UART 1
+#define USB_MAX_POWER_CONSUMPTION 100
+
/* RGB underglow */
// The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards.
// The same pin is used on the JJ40, at least.