aboutsummaryrefslogtreecommitdiff
path: root/keyboards/eve
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-11-15 10:21:22 +1100
committerGitHub <noreply@github.com>2019-11-15 10:21:22 +1100
commit30473357290747be06e9200a7d9c751738a3b0a1 (patch)
tree7d200332f182da03d8c6a493b1378265d473e74d /keyboards/eve
parenta2eb962704f1e87ed862a18650520df7a0fc5da8 (diff)
downloadqmk_firmware-30473357290747be06e9200a7d9c751738a3b0a1.tar.gz
qmk_firmware-30473357290747be06e9200a7d9c751738a3b0a1.zip
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/eve')
-rw-r--r--keyboards/eve/meteor/usbconfig.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/keyboards/eve/meteor/usbconfig.h b/keyboards/eve/meteor/usbconfig.h
index da9b2b719..fd5d95e2e 100644
--- a/keyboards/eve/meteor/usbconfig.h
+++ b/keyboards/eve/meteor/usbconfig.h
@@ -98,20 +98,10 @@ section at the end of this file).
98 * (e.g. HID), but never want to send any data. This option saves a couple 98 * (e.g. HID), but never want to send any data. This option saves a couple
99 * of bytes in flash memory and the transmit buffers in RAM. 99 * of bytes in flash memory and the transmit buffers in RAM.
100 */ 100 */
101#define USB_CFG_INTR_POLL_INTERVAL 1
102/* If you compile a version with endpoint 1 (interrupt-in), this is the poll
103 * interval. The value is in milliseconds and must not be less than 10 ms for
104 * low speed devices.
105 */
106#define USB_CFG_IS_SELF_POWERED 0 101#define USB_CFG_IS_SELF_POWERED 0
107/* Define this to 1 if the device has its own power supply. Set it to 0 if the 102/* Define this to 1 if the device has its own power supply. Set it to 0 if the
108 * device is powered from the USB bus. 103 * device is powered from the USB bus.
109 */ 104 */
110#define USB_CFG_MAX_BUS_POWER 500
111/* Set this variable to the maximum USB bus power consumption of your device.
112 * The value is in milliamperes. [It will be divided by two since USB
113 * communicates power requirements in units of 2 mA.]
114 */
115#define USB_CFG_IMPLEMENT_FN_WRITE 1 105#define USB_CFG_IMPLEMENT_FN_WRITE 1
116/* Set this to 1 if you want usbFunctionWrite() to be called for control-out 106/* Set this to 1 if you want usbFunctionWrite() to be called for control-out
117 * transfers. Set it to 0 if you don't need it and want to save a couple of 107 * transfers. Set it to 0 if you don't need it and want to save a couple of
@@ -380,4 +370,4 @@ section at the end of this file).
380#define USB_INTR_ENABLE_BIT INT1 370#define USB_INTR_ENABLE_BIT INT1
381/* #define USB_INTR_PENDING EIFR */ 371/* #define USB_INTR_PENDING EIFR */
382#define USB_INTR_PENDING_BIT INTF1 372#define USB_INTR_PENDING_BIT INTF1
383#define USB_INTR_VECTOR INT1_vect \ No newline at end of file 373#define USB_INTR_VECTOR INT1_vect