aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/atmel_softpack_libraries/usb/device/dfu/dfu.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/atmel_softpack_libraries/usb/device/dfu/dfu.h')
-rw-r--r--firmware/atmel_softpack_libraries/usb/device/dfu/dfu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu.h b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu.h
index 7354696..5bd8684 100644
--- a/firmware/atmel_softpack_libraries/usb/device/dfu/dfu.h
+++ b/firmware/atmel_softpack_libraries/usb/device/dfu/dfu.h
@@ -124,6 +124,9 @@ void USBDFU_Initialize(const USBDDriverDescriptors *pDescriptors);
/* USBD tells us to switch from DFU mode to application mode */
void USBDFU_SwitchToApp(void);
+/* USBD tells us to switch from to DFU mode */
+void USBDFU_SwitchToDFU(void);
+
/* Return values to be used by USBDFU_handle_{dn,up}load */
#define DFU_RET_NOTHING 0
#define DFU_RET_ZLP 1