diff options
Diffstat (limited to 'keyboard')
| -rw-r--r-- | keyboard/usbdrv/usbconfig.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboard/usbdrv/usbconfig.h b/keyboard/usbdrv/usbconfig.h index 9fe0e00..3fc0a54 100644 --- a/keyboard/usbdrv/usbconfig.h +++ b/keyboard/usbdrv/usbconfig.h @@ -74,7 +74,7 @@ section at the end of this file). /* --------------------------- Functional Range ---------------------------- */ -#define USB_CFG_HAVE_INTRIN_ENDPOINT 0 +#define USB_CFG_HAVE_INTRIN_ENDPOINT 1 /* Define this to 1 if you want to compile a version with two endpoints: The * default control endpoint 0 and an interrupt-in endpoint (any other endpoint * number). @@ -118,12 +118,12 @@ section at the end of this file). /* 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 100 +#define USB_CFG_MAX_BUS_POWER 50 /* 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 0 +#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 * bytes. |
