projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation enhancements.
[pub/USBasp.git]
/
Bootloaders
/
DFU
/
BootloaderDFU.c
diff --git
a/Bootloaders/DFU/BootloaderDFU.c
b/Bootloaders/DFU/BootloaderDFU.c
index
7136b97
..
6f8acc8
100644
(file)
--- a/
Bootloaders/DFU/BootloaderDFU.c
+++ b/
Bootloaders/DFU/BootloaderDFU.c
@@
-156,7
+156,7
@@
void EVENT_USB_Device_UnhandledControlRequest(void)
switch (USB_ControlRequest.bRequest)
{
switch (USB_ControlRequest.bRequest)
{
- case DFU_DNLOAD:
+ case
REQ_
DFU_DNLOAD:
Endpoint_ClearSETUP();
/* Check if bootloader is waiting to terminate */
Endpoint_ClearSETUP();
/* Check if bootloader is waiting to terminate */
@@
-309,7
+309,7
@@
void EVENT_USB_Device_UnhandledControlRequest(void)
Endpoint_ClearStatusStage();
break;
Endpoint_ClearStatusStage();
break;
- case DFU_UPLOAD:
+ case
REQ_
DFU_UPLOAD:
Endpoint_ClearSETUP();
while (!(Endpoint_IsINReady()))
Endpoint_ClearSETUP();
while (!(Endpoint_IsINReady()))
@@
-408,7
+408,7
@@
void EVENT_USB_Device_UnhandledControlRequest(void)
Endpoint_ClearStatusStage();
break;
Endpoint_ClearStatusStage();
break;
- case DFU_GETSTATUS:
+ case
REQ_
DFU_GETSTATUS:
Endpoint_ClearSETUP();
/* Write 8-bit status value */
Endpoint_ClearSETUP();
/* Write 8-bit status value */
@@
-428,7
+428,7
@@
void EVENT_USB_Device_UnhandledControlRequest(void)
Endpoint_ClearStatusStage();
break;
Endpoint_ClearStatusStage();
break;
- case DFU_CLRSTATUS:
+ case
REQ_
DFU_CLRSTATUS:
Endpoint_ClearSETUP();
/* Reset the status value variable to the default OK status */
Endpoint_ClearSETUP();
/* Reset the status value variable to the default OK status */
@@
-436,7
+436,7
@@
void EVENT_USB_Device_UnhandledControlRequest(void)
Endpoint_ClearStatusStage();
break;
Endpoint_ClearStatusStage();
break;
- case DFU_GETSTATE:
+ case
REQ_
DFU_GETSTATE:
Endpoint_ClearSETUP();
/* Write the current device state to the endpoint */
Endpoint_ClearSETUP();
/* Write the current device state to the endpoint */
@@
-446,7
+446,7
@@
void EVENT_USB_Device_UnhandledControlRequest(void)
Endpoint_ClearStatusStage();
break;
Endpoint_ClearStatusStage();
break;
- case DFU_ABORT:
+ case
REQ_
DFU_ABORT:
Endpoint_ClearSETUP();
/* Reset the current state variable to the default idle state */
Endpoint_ClearSETUP();
/* Reset the current state variable to the default idle state */