aboutsummaryrefslogtreecommitdiffstats
path: root/src/lpc176x/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpc176x/internal.h')
-rw-r--r--src/lpc176x/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lpc176x/internal.h b/src/lpc176x/internal.h
index bd3e9c01..5dcf99a4 100644
--- a/src/lpc176x/internal.h
+++ b/src/lpc176x/internal.h
@@ -2,6 +2,8 @@
#define __LPC176X_INTERNAL_H
// Local definitions for lpc176x code
+#include "LPC17xx.h"
+
#define GPIO(PORT, NUM) ((PORT) * 32 + (NUM))
#define GPIO2PORT(PIN) ((PIN) / 32)
#define GPIO2BIT(PIN) (1<<((PIN) % 32))