projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of the redundant ATTR_NEVER_INLINE macro which translated to the same as...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Core
/
DeviceStandardReq.c
diff --git
a/LUFA/Drivers/USB/Core/DeviceStandardReq.c
b/LUFA/Drivers/USB/Core/DeviceStandardReq.c
index
1106f7b
..
3176e15
100644
(file)
--- a/
LUFA/Drivers/USB/Core/DeviceStandardReq.c
+++ b/
LUFA/Drivers/USB/Core/DeviceStandardReq.c
@@
-117,8
+117,8
@@
void USB_Device_ProcessControlRequest(void)
if (Endpoint_IsSETUPReceived())
{
if (Endpoint_IsSETUPReceived())
{
- Endpoint_StallTransaction();
Endpoint_ClearSETUP();
Endpoint_ClearSETUP();
+ Endpoint_StallTransaction();
}
}
}
}
@@
-134,7
+134,7
@@
static void USB_Device_SetAddress(void)
while (!(Endpoint_IsINReady()));
while (!(Endpoint_IsINReady()));
- USB_Device_EnableDeviceAddress();
+ USB_Device_EnableDeviceAddress(
DeviceAddress
);
USB_DeviceState = (DeviceAddress) ? DEVICE_STATE_Addressed : DEVICE_STATE_Default;
}
USB_DeviceState = (DeviceAddress) ? DEVICE_STATE_Addressed : DEVICE_STATE_Default;
}