aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Platform/UC3
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Platform/UC3')
-rw-r--r--LUFA/Platform/UC3/InterruptManagement.c1
-rw-r--r--LUFA/Platform/UC3/InterruptManagement.h6
2 files changed, 5 insertions, 2 deletions
diff --git a/LUFA/Platform/UC3/InterruptManagement.c b/LUFA/Platform/UC3/InterruptManagement.c
index 3eb211bda..7d883c639 100644
--- a/LUFA/Platform/UC3/InterruptManagement.c
+++ b/LUFA/Platform/UC3/InterruptManagement.c
@@ -28,6 +28,7 @@
this software.
*/
+#define __INCLUDE_FROM_INTMANAGEMENT_C
#include "InterruptManagement.h"
/** Interrupt vector table, containing the ISR to call for each interrupt group */
diff --git a/LUFA/Platform/UC3/InterruptManagement.h b/LUFA/Platform/UC3/InterruptManagement.h
index 4c2721077..8dd1dc3d6 100644
--- a/LUFA/Platform/UC3/InterruptManagement.h
+++ b/LUFA/Platform/UC3/InterruptManagement.h
@@ -84,9 +84,11 @@
typedef void (*InterruptHandlerPtr_t)(void);
/* External Variables: */
- extern const void EVBA_Table;
- extern const uint32_t Autovector_Table[];
+ #if defined(__INCLUDE_FROM_INTMANAGEMENT_C)
+ extern const void EVBA_Table;
+ #endif
extern InterruptHandlerPtr_t InterruptHandlers[AVR32_INTC_NUM_INT_GRPS];
+ extern const uint32_t Autovector_Table[];
#endif
/* Public Interface - May be used in end-application: */