diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-10-02 14:45:56 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-10-02 14:45:56 -0400 |
| commit | 99be520563834d51eb3ddd32b757a3dcd2486632 (patch) | |
| tree | 7c31bcc262950d431a1676b62624b6ac82f30df3 /fw/main.c | |
| parent | c91e3d96c90cd1c9b3b6155bc5e37954011cf0af (diff) | |
| download | can-gauge-interface-99be520563834d51eb3ddd32b757a3dcd2486632.zip | |
spi systest
Diffstat (limited to 'fw/main.c')
| -rw-r--r-- | fw/main.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -2,22 +2,18 @@ #include <stdint.h> -#include <usb_device.h> - +#include "system.h" #include "types.h" -#include "init.h" #include "spi.h" #include "eeprom.h" #include "usb.h" void main(void) { - clockInit(); - pinsInit(); + sysInit(); spiInit(); eepromInit(); - USBDeviceInit(); - USBDeviceAttach(); + usbInit(); for (;;) { usbTask(); |