summaryrefslogtreecommitdiffstats
path: root/firmware/usbconfig.h
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2014-01-05 19:35:47 +0100
committercpldcpu <cpldcpu@gmail.com>2014-01-05 19:35:47 +0100
commit568359df2c8ad4293dfc14b57db9b01fb2f1adab (patch)
tree5a783fd1979d2084c1d7caf912a8f53e05cdd72d /firmware/usbconfig.h
parent570ffd3e2f81f4ec03ed362c94b26573748864a1 (diff)
downloadmicronucleus-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.h2
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.