Simplified code a bit. Emulator does not work stable when replugging pixy.

This commit is contained in:
t-moe
2015-04-25 00:40:23 +02:00
parent 416883c15b
commit 3d1e4b2ef2
11 changed files with 24 additions and 51 deletions

View File

@@ -1,23 +1,11 @@
#include "app.h"
#include "usb_hcd_int.h"
#include "usbh_usr.h"
#include "usbh_core.h"
#include "usbh_msc_core.h"
extern USB_OTG_CORE_HANDLE USB_OTG_Core;
extern USBH_HOST USB_Host;
int main(void)
{
app_init();
while (1)
{
USBH_Process(&USB_OTG_Core, &USB_Host);
app_process();
}