From d4630ff5ccea1b1d63b56b52cf423d11f1f57af3 Mon Sep 17 00:00:00 2001 From: Dean Date: Wed, 22 Sep 2010 04:20:45 +0000 Subject: 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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1493 d5102386-fcda-11dd-9fdb-3debd5008f28 --- LUFA/Common/Common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LUFA/Common/Common.h') diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index e939b66f..c750e401 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. * -- cgit v1.2.3