aboutsummaryrefslogtreecommitdiffstats
path: root/fw/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/main.c')
-rw-r--r--fw/main.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/fw/main.c b/fw/main.c
index 3c54179..8bf4f80 100644
--- a/fw/main.c
+++ b/fw/main.c
@@ -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();