X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/0f45b9c8e076483cd546d0bc9c606b73455295c6..b2a30cd48a0621b360d23dd430c646d22e943d09:/LUFA/Common/Common.h?ds=sidebyside diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 4f2854385..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. * @@ -127,7 +127,7 @@ /** Swaps the byte ordering of a 16-bit value at compile time. Do not use this macro for swapping byte orderings * of dynamic values computed at runtime, use \ref SwapEndian_16() instead. The result of this macro can be used - * inside struct or other variable initialisers outside of a function, something that is not possible with the + * inside struct or other variable initializers outside of a function, something that is not possible with the * inline function variant. * * \param[in] x 16-bit value whose byte ordering is to be swapped. @@ -138,7 +138,7 @@ /** Swaps the byte ordering of a 32-bit value at compile time. Do not use this macro for swapping byte orderings * of dynamic values computed at runtime- use \ref SwapEndian_32() instead. The result of this macro can be used - * inside struct or other variable initialisers outside of a function, something that is not possible with the + * inside struct or other variable initializers outside of a function, something that is not possible with the * inline function variant. * * \param[in] x 32-bit value whose byte ordering is to be swapped.