diff options
author | fauxpark <fauxpark@gmail.com> | 2019-11-15 10:21:22 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-15 10:21:22 +1100 |
commit | 30473357290747be06e9200a7d9c751738a3b0a1 (patch) | |
tree | 7d200332f182da03d8c6a493b1378265d473e74d /keyboards/eve | |
parent | a2eb962704f1e87ed862a18650520df7a0fc5da8 (diff) |
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.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/keyboards/eve/meteor/usbconfig.h b/keyboards/eve/meteor/usbconfig.h index da9b2b7197..fd5d95e2ef 100644 --- a/keyboards/eve/meteor/usbconfig.h +++ b/keyboards/eve/meteor/usbconfig.h @@ -98,20 +98,10 @@ section at the end of this file). * (e.g. HID), but never want to send any data. This option saves a couple * of bytes in flash memory and the transmit buffers in RAM. */ -#define USB_CFG_INTR_POLL_INTERVAL 1 -/* If you compile a version with endpoint 1 (interrupt-in), this is the poll - * interval. The value is in milliseconds and must not be less than 10 ms for - * low speed devices. - */ #define USB_CFG_IS_SELF_POWERED 0 /* 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 -/* 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.] - */ #define USB_CFG_IMPLEMENT_FN_WRITE 1 /* Set this to 1 if you want usbFunctionWrite() to be called for control-out * 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). #define USB_INTR_ENABLE_BIT INT1 /* #define USB_INTR_PENDING EIFR */ #define USB_INTR_PENDING_BIT INTF1 -#define USB_INTR_VECTOR INT1_vect
\ No newline at end of file +#define USB_INTR_VECTOR INT1_vect |