diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-08-16 14:59:36 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-08-16 14:59:36 -0230 |
| commit | ee61ef56f775e44fd0b857a960102148910e6dce (patch) | |
| tree | 9063a6a74af17d9a0ef45392dc28eaf770a22d69 /fw/main.c | |
| parent | 478a91bd82e27d8d6b2e597fd659e484ca6b205a (diff) | |
| download | can-gauge-interface-ee61ef56f775e44fd0b857a960102148910e6dce.zip | |
usbcom: modified libusb example
Diffstat (limited to 'fw/main.c')
| -rw-r--r-- | fw/main.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/fw/main.c b/fw/main.c new file mode 100644 index 0000000..cdc3fc2 --- /dev/null +++ b/fw/main.c @@ -0,0 +1,26 @@ +#include <xc.h> + +#include <stdint.h> + +#include "types.h" +#include "init.h" +#include "spi.h" +#include "eeprom.h" +#include "config.h" + +void +main(void) { + clockInit(); + pinsInit(); + spiInit(); + eepromInit(); + + for (;;) { + + } +} + +void +__interrupt() isr(void) { + +} |