Clean up the code. Manage the reconnection. Use the lwip error, insted
[bertos.git] / bertos / drv / usbser.c
index da9750da46973b997504b788b9c55fd2c8f7558c..04eb3d82b1526b84ecb23b7107ef939b83761d33 100644 (file)
@@ -36,6 +36,8 @@
  *
  */
 
+#include "usbser.h"
+
 #include "cfg/cfg_usbser.h"
 
 #define LOG_LEVEL  USB_SERIAL_LOG_LEVEL
 
 #include <string.h> /* memcpy() */
 
-#include "drv/usbser.h"
-
-#define USB_SERIAL_VENDOR_ID   0x05f9
-#define USB_SERIAL_PRODUCT_ID  0xffff
 
 #define USB_SERIAL_INTERFACES  1
 #define USB_SERIAL_ENDPOINTS   3