projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix include path in the library RingBuffer.h header file.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
DeviceStandardReq.c
diff --git
a/LUFA/Drivers/USB/HighLevel/DeviceStandardReq.c
b/LUFA/Drivers/USB/HighLevel/DeviceStandardReq.c
index
cceffc9
..
f9cec41
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/DeviceStandardReq.c
+++ b/
LUFA/Drivers/USB/HighLevel/DeviceStandardReq.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-48,7
+48,7
@@
bool USB_RemoteWakeupEnabled;
void USB_Device_ProcessControlRequest(void)
{
void USB_Device_ProcessControlRequest(void)
{
- uint8_t* RequestHeader
= (uint8_t*)&USB_ControlRequest;
+ uint8_t* RequestHeader = (uint8_t*)&USB_ControlRequest;
for (uint8_t RequestHeaderByte = 0; RequestHeaderByte < sizeof(USB_Request_Header_t); RequestHeaderByte++)
*(RequestHeader++) = Endpoint_Read_Byte();
for (uint8_t RequestHeaderByte = 0; RequestHeaderByte < sizeof(USB_Request_Header_t); RequestHeaderByte++)
*(RequestHeader++) = Endpoint_Read_Byte();
@@
-123,10
+123,10
@@
static void USB_Device_SetAddress(void)
while (!(Endpoint_IsINReady()));
while (!(Endpoint_IsINReady()));
- USB_DeviceState = (DeviceAddress) ? DEVICE_STATE_Addressed : DEVICE_STATE_Default;
-
USB_Device_SetDeviceAddress(DeviceAddress);
}
USB_Device_SetDeviceAddress(DeviceAddress);
}
+
+ USB_DeviceState = (DeviceAddress) ? DEVICE_STATE_Addressed : DEVICE_STATE_Default;
}
static void USB_Device_SetConfiguration(void)
}
static void USB_Device_SetConfiguration(void)