summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_extint.c
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/watch/watch_extint.c')
-rw-r--r--watch-library/watch/watch_extint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/watch-library/watch/watch_extint.c b/watch-library/watch/watch_extint.c
index f2bad949..dcaa0d80 100644
--- a/watch-library/watch/watch_extint.c
+++ b/watch-library/watch/watch_extint.c
@@ -22,6 +22,8 @@
* SOFTWARE.
*/
+#include "watch_extint.h"
+
void watch_enable_external_interrupts() {
// Configure EIC to use GCLK3 (the 32.768 kHz crystal)
hri_gclk_write_PCHCTRL_reg(GCLK, EIC_GCLK_ID, GCLK_PCHCTRL_GEN_GCLK3_Val | (1 << GCLK_PCHCTRL_CHEN_Pos));