summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usb-dfu-experiment/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usb-dfu-experiment/main.c b/usb-dfu-experiment/main.c
index 4cc267e..4d1d59c 100644
--- a/usb-dfu-experiment/main.c
+++ b/usb-dfu-experiment/main.c
@@ -299,14 +299,14 @@ void USBDDriverCallbacks_InterfaceSettingChanged(unsigned char interface,
int USBDFU_handle_upload(uint16_t val, uint16_t len, int first)
{
TRACE_DEBUG("DFU: handle_upload()\n");
- return 0;
+ return DFU_RET_ZLP;
}
/* DFU callback */
int USBDFU_handle_dnload(uint16_t val, uint16_t len, int first)
{
TRACE_DEBUG("DFU: handle_dnload()\n");
- return 0;
+ return DFU_RET_ZLP;
}
/* DFU callback */
@@ -359,7 +359,6 @@ int main(void)
continue;
} else
usbConn = 1;
- TRACE_DEBUG(".");
}
}
/** \endcond */
personal git repositories of Harald Welte. Your mileage may vary