aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-09-22 04:20:45 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-09-22 04:20:45 +0000
commit5f3c4cc6e044bdfd4c35b5e27a2841b961766843 (patch)
tree9e88f349307a63cedbf9e4cf6b35b57c366726d3 /LUFA/Common
parentc459ef69815366c11d2d00c51b75908603ed3ca1 (diff)
downloadlufa-5f3c4cc6e044bdfd4c35b5e27a2841b961766843.tar.gz
lufa-5f3c4cc6e044bdfd4c35b5e27a2841b961766843.tar.bz2
lufa-5f3c4cc6e044bdfd4c35b5e27a2841b961766843.zip
Reverted modifications to USBInterrupt.h that were intefering with correct host mode operation.
Fixed SUSPI interrupt not being cleared during device mode enumeration, causing accidental mis-fires on re-enumeration. Fixed JTAG_DEBUG_POINT() and JTAG_DEBUG_BREAK() macros not compiling under pure C99 standards mode.
Diffstat (limited to 'LUFA/Common')
-rw-r--r--LUFA/Common/Common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h
index e939b66f3..c750e4015 100644
--- a/LUFA/Common/Common.h
+++ b/LUFA/Common/Common.h
@@ -85,14 +85,14 @@
*
* \ingroup Group_Debugging
*/
- #define JTAG_DEBUG_POINT() asm volatile ("NOP" ::)
+ #define JTAG_DEBUG_POINT() __asm__ volatile ("NOP" ::)
/** Defines an explicit JTAG break point in the resulting binary via the ASM BREAK statement. When
* a JTAG is used, this causes the program execution to halt when reached until manually resumed.
*
* \ingroup Group_Debugging
*/
- #define JTAG_DEBUG_BREAK() asm volatile ("BREAK" ::)
+ #define JTAG_DEBUG_BREAK() __asm__ volatile ("BREAK" ::)
/** Macro for testing condition "x" and breaking via JTAG_DEBUG_BREAK() if the condition is false.
*