diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525v2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525.c b/firmware/target/arm/as3525/usb-drv-as3525.c index bee9689ae3..0ababd857d 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525.c +++ b/firmware/target/arm/as3525/usb-drv-as3525.c | |||
@@ -476,7 +476,7 @@ char *make_hex(char *data, int len) | |||
476 | } | 476 | } |
477 | #endif | 477 | #endif |
478 | 478 | ||
479 | void ep_send(int ep, void *ptr, int len) | 479 | static void ep_send(int ep, void *ptr, int len) |
480 | { | 480 | { |
481 | struct usb_dev_dma_desc *uc_desc = endpoints[ep][0].uc_desc; | 481 | struct usb_dev_dma_desc *uc_desc = endpoints[ep][0].uc_desc; |
482 | 482 | ||
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c index 1514e765cb..a1ea7e30ab 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525v2.c +++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c | |||
@@ -100,7 +100,7 @@ static struct usb_endpoint endpoints[USB_NUM_ENDPOINTS][2]; | |||
100 | /* setup packet for EP0 */ | 100 | /* setup packet for EP0 */ |
101 | static struct usb_ctrlrequest ep0_setup_pkt USB_DEVBSS_ATTR; | 101 | static struct usb_ctrlrequest ep0_setup_pkt USB_DEVBSS_ATTR; |
102 | /* state of EP0 */ | 102 | /* state of EP0 */ |
103 | enum ep0state ep0_state; | 103 | static enum ep0state ep0_state; |
104 | 104 | ||
105 | void usb_attach(void) | 105 | void usb_attach(void) |
106 | { | 106 | { |