diff options
author | fauxpark <fauxpark@gmail.com> | 2019-09-07 00:41:24 +1000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-09-06 07:41:24 -0700 |
commit | 7ffed07310b4dcf53235bfd8a1700aefd0437f90 (patch) | |
tree | cd47b2474d0d8b10b1a62ef466cafd7a83cb81ab /docs/config_options.md | |
parent | f8bf1d1b16848f2d82d4c61b6a8df3f22aa15859 (diff) |
Make USB polling rate configurable with a define (#6668)
Diffstat (limited to 'docs/config_options.md')
-rw-r--r-- | docs/config_options.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/config_options.md b/docs/config_options.md index d2ae561798..77e2368f3d 100644 --- a/docs/config_options.md +++ b/docs/config_options.md @@ -91,8 +91,10 @@ This is a C header file that is one of the first things included, and will persi * tries to keep switch state consistent with keyboard LED state * `#define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)` * key combination that allows the use of magic commands (useful for debugging) -* `#define USB_MAX_POWER_CONSUMPTION` +* `#define USB_MAX_POWER_CONSUMPTION 500` * sets the maximum power (in mA) over USB for the device (default: 500) +* `#define USB_POLLING_INTERVAL_MS 10` + * sets the USB polling rate in milliseconds for the keyboard, mouse, and shared (NKRO/media keys) interfaces * `#define F_SCL 100000L` * sets the I2C clock rate speed for keyboards using I2C. The default is `400000L`, except for keyboards using `split_common`, where the default is `100000L`. |