aboutsummaryrefslogtreecommitdiffstats
path: root/fw/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/main.c')
-rw-r--r--fw/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/fw/main.c b/fw/main.c
index cdc3fc2..3c54179 100644
--- a/fw/main.c
+++ b/fw/main.c
@@ -2,11 +2,13 @@
#include <stdint.h>
+#include <usb_device.h>
+
#include "types.h"
#include "init.h"
#include "spi.h"
#include "eeprom.h"
-#include "config.h"
+#include "usb.h"
void
main(void) {
@@ -14,9 +16,11 @@ main(void) {
pinsInit();
spiInit();
eepromInit();
+ USBDeviceInit();
+ USBDeviceAttach();
for (;;) {
-
+ usbTask();
}
}