projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add pwm pins set registers.
[bertos.git]
/
bertos
/
drv
/
usbser.c
diff --git
a/bertos/drv/usbser.c
b/bertos/drv/usbser.c
index da9750da46973b997504b788b9c55fd2c8f7558c..04eb3d82b1526b84ecb23b7107ef939b83761d33 100644
(file)
--- a/
bertos/drv/usbser.c
+++ b/
bertos/drv/usbser.c
@@
-36,6
+36,8
@@
*
*/
*
*/
+#include "usbser.h"
+
#include "cfg/cfg_usbser.h"
#define LOG_LEVEL USB_SERIAL_LOG_LEVEL
#include "cfg/cfg_usbser.h"
#define LOG_LEVEL USB_SERIAL_LOG_LEVEL
@@
-56,10
+58,6
@@
#include <string.h> /* memcpy() */
#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
#define USB_SERIAL_INTERFACES 1
#define USB_SERIAL_ENDPOINTS 3