projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e652cfa
)
Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts...
author
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 4 May 2010 10:16:44 +0000
(10:16 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Tue, 4 May 2010 10:16:44 +0000
(10:16 +0000)
LUFA/Drivers/USB/LowLevel/USBInterrupt.c
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/LowLevel/USBInterrupt.h
patch
|
blob
|
blame
|
history
LUFA/ManPages/ChangeLog.txt
patch
|
blob
|
blame
|
history
diff --git
a/LUFA/Drivers/USB/LowLevel/USBInterrupt.c
b/LUFA/Drivers/USB/LowLevel/USBInterrupt.c
index
925248d
..
2d9e35b
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/USBInterrupt.c
+++ b/
LUFA/Drivers/USB/LowLevel/USBInterrupt.c
@@
-235,7
+235,10
@@
ISR(USB_COM_vect, ISR_BLOCK)
{
\r
uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();
\r
\r
{
\r
uint8_t PrevSelectedEndpoint = Endpoint_GetCurrentEndpoint();
\r
\r
+ USB_INT_Disable(USB_INT_RXSTPI);
\r
+ sei();
\r
USB_USBTask();
\r
USB_USBTask();
\r
+ USB_INT_Enable(USB_INT_RXSTPI);
\r
\r
USB_INT_Clear(USB_INT_RXSTPI);
\r
\r
\r
USB_INT_Clear(USB_INT_RXSTPI);
\r
\r
diff --git
a/LUFA/Drivers/USB/LowLevel/USBInterrupt.h
b/LUFA/Drivers/USB/LowLevel/USBInterrupt.h
index
cccf26a
..
e46e759
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/USBInterrupt.h
+++ b/
LUFA/Drivers/USB/LowLevel/USBInterrupt.h
@@
-43,6
+43,7
@@
\r
/* Includes: */
\r
#include <avr/io.h>
\r
\r
/* Includes: */
\r
#include <avr/io.h>
\r
+ #include <avr/interrupt.h>
\r
#include <stdbool.h>
\r
\r
#include "../../../Common/Common.h"
\r
#include <stdbool.h>
\r
\r
#include "../../../Common/Common.h"
\r
diff --git
a/LUFA/ManPages/ChangeLog.txt
b/LUFA/ManPages/ChangeLog.txt
index
b99faac
..
4c29284
100644
(file)
--- a/
LUFA/ManPages/ChangeLog.txt
+++ b/
LUFA/ManPages/ChangeLog.txt
@@
-60,6
+60,8
@@
* - Fixed Set Configuration requests not being stalled until the host has set the device's address
\r
* - Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the
\r
* HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set
\r
* - Fixed Set Configuration requests not being stalled until the host has set the device's address
\r
* - Fixed Host mode HID class driver not sending the correct report type when HID_Host_SendReportByID() was called and the
\r
* HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set
\r
+ * - Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other interrupts from occuring while the control endpoint
\r
+ * request is being processed, causing possible lockups if a USB interrupt occurs during a transfer
\r
*
\r
* \section Sec_ChangeLog100219 Version 100219
\r
*
\r
*
\r
* \section Sec_ChangeLog100219 Version 100219
\r
*
\r