aboutsummaryrefslogtreecommitdiffstats
path: root/fw/init.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-10-02 14:45:56 -0400
committerSam Anthony <sam@samanthony.xyz>2025-10-02 14:45:56 -0400
commit99be520563834d51eb3ddd32b757a3dcd2486632 (patch)
tree7c31bcc262950d431a1676b62624b6ac82f30df3 /fw/init.c
parentc91e3d96c90cd1c9b3b6155bc5e37954011cf0af (diff)
downloadcan-gauge-interface-99be520563834d51eb3ddd32b757a3dcd2486632.zip
spi systest
Diffstat (limited to 'fw/init.c')
-rw-r--r--fw/init.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/fw/init.c b/fw/init.c
deleted file mode 100644
index 9c89bee..0000000
--- a/fw/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;
-}