diff options
author | cpldcpu <cpldcpu@gmail.com> | 2014-01-05 19:35:47 +0100 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2014-01-05 19:35:47 +0100 |
commit | 568359df2c8ad4293dfc14b57db9b01fb2f1adab (patch) | |
tree | 5a783fd1979d2084c1d7caf912a8f53e05cdd72d /firmware/usbconfig.h | |
parent | 570ffd3e2f81f4ec03ed362c94b26573748864a1 (diff) | |
download | micronucleus-568359df2c8ad4293dfc14b57db9b01fb2f1adab.tar.gz micronucleus-568359df2c8ad4293dfc14b57db9b01fb2f1adab.tar.bz2 micronucleus-568359df2c8ad4293dfc14b57db9b01fb2f1adab.zip |
commandline: Support for new v2 transmission protocol
The block transfer is now done in the address and indexfield of a
setup-packet to save a lot of memory in the firmware:
This requires twice the number of transmissions, but is effectively
faster due to less bus congestion and resends.
Diffstat (limited to 'firmware/usbconfig.h')
-rw-r--r-- | firmware/usbconfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbconfig.h b/firmware/usbconfig.h index 3dda6b2..65864df 100644 --- a/firmware/usbconfig.h +++ b/firmware/usbconfig.h @@ -77,7 +77,7 @@ * 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 +#define USB_CFG_IMPLEMENT_FN_WRITE 0 /* 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. |