#include "misc.h" #include #include void Error_Handler(void) { /* XXX - handle error */ } /* * Wait for a device to connect to the VCP */ void wait_for_vcp(void) { for (;;) { if (vcp_status(&hUsbDeviceFS.request)) break; } }