aboutsummaryrefslogtreecommitdiffstats
path: root/sw/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sw/init.c')
-rw-r--r--sw/init.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sw/init.c b/sw/init.c
deleted file mode 100644
index 9c89bee..0000000
--- a/sw/init.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <xc.h>
-
-#include "init.h"
-
-void
-clockInit(void) {
- OSCCON = 0xFC; // HFINTOSC @ 16MHz, 3x PLL, PLL enabled
- ACTCON = 0x90; // active clock tuning enabled for USB
-}
-
-void
-pinsInit(void) {
- // Disable all analog pin functions
- ANSELA = 0;
- ANSELB = 0;
- ANSELC = 0;
-}