aboutsummaryrefslogtreecommitdiffstats
path: root/sw/init.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-08-16 14:59:36 -0230
committerSam Anthony <sam@samanthony.xyz>2025-08-16 14:59:36 -0230
commitee61ef56f775e44fd0b857a960102148910e6dce (patch)
tree9063a6a74af17d9a0ef45392dc28eaf770a22d69 /sw/init.c
parent478a91bd82e27d8d6b2e597fd659e484ca6b205a (diff)
downloadcan-gauge-interface-ee61ef56f775e44fd0b857a960102148910e6dce.zip
usbcom: modified libusb example
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;
-}