aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common/ArchitectureSpecific.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-08-22 13:03:56 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-08-22 13:03:56 +0000
commitd0ac8e46f958e81f78876740202ca489569f5689 (patch)
tree43b71715d52e266156428023db2b83b81cf3f540 /LUFA/Common/ArchitectureSpecific.h
parent40946a570405a522b2cd04295bc2dad746b936fc (diff)
downloadlufa-d0ac8e46f958e81f78876740202ca489569f5689.tar.gz
lufa-d0ac8e46f958e81f78876740202ca489569f5689.tar.bz2
lufa-d0ac8e46f958e81f78876740202ca489569f5689.zip
Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().
Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines. Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values. Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
Diffstat (limited to 'LUFA/Common/ArchitectureSpecific.h')
-rw-r--r--LUFA/Common/ArchitectureSpecific.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Common/ArchitectureSpecific.h b/LUFA/Common/ArchitectureSpecific.h
index 4f29be6d6..3920cb94e 100644
--- a/LUFA/Common/ArchitectureSpecific.h
+++ b/LUFA/Common/ArchitectureSpecific.h
@@ -84,14 +84,14 @@
*
* \note This macro is not available for all architectures.
*/
- #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 assembly \c BREAK statement. When
* a JTAG is used, this causes the program execution to halt when reached until manually resumed.
*
* \note This macro is not available for all architectures.
*/
- #define JTAG_DEBUG_BREAK() __asm__ __volatile__ ("BREAK" ::)
+ #define JTAG_DEBUG_BREAK() __asm__ __volatile__ ("break" ::)
/** Macro for testing condition "x" and breaking via \ref JTAG_DEBUG_BREAK() if the condition is false.
*
@@ -99,7 +99,7 @@
*
* \param[in] Condition Condition that will be evaluated.
*/
- #define JTAG_DEBUG_ASSERT(Condition) MACROS{ if (!(Condition)) { JTAG_DEBUG_BREAK(); } }MACROE
+ #define JTAG_ASSERT(Condition) MACROS{ if (!(Condition)) { JTAG_DEBUG_BREAK(); } }MACROE
/** Macro for testing condition \c "x" and writing debug data to the stdout stream if \c false. The stdout stream
* must be pre-initialized before this macro is run and linked to an output device, such as the microcontroller's