diff options
Diffstat (limited to 'firmware/ifp_usb_serial.c')
-rw-r--r-- | firmware/ifp_usb_serial.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/ifp_usb_serial.c b/firmware/ifp_usb_serial.c index 5392de0d52..f7e3a51858 100644 --- a/firmware/ifp_usb_serial.c +++ b/firmware/ifp_usb_serial.c | |||
@@ -250,7 +250,7 @@ static inline void usb_select_setup_endpoint(void) | |||
250 | ISP1582_EPINDEX = 0x20; | 250 | ISP1582_EPINDEX = 0x20; |
251 | } | 251 | } |
252 | 252 | ||
253 | void usb_setup_endpoint(int idx, int max_pkt_size, int type) | 253 | static void usb_setup_endpoint(int idx, int max_pkt_size, int type) |
254 | { | 254 | { |
255 | struct usb_endpoint *ep; | 255 | struct usb_endpoint *ep; |
256 | 256 | ||
@@ -271,7 +271,7 @@ void usb_setup_endpoint(int idx, int max_pkt_size, int type) | |||
271 | ep->max_pkt_size[epidx_dir(idx)] = max_pkt_size; | 271 | ep->max_pkt_size[epidx_dir(idx)] = max_pkt_size; |
272 | } | 272 | } |
273 | 273 | ||
274 | void usb_disable_endpoint(int idx) | 274 | static void usb_disable_endpoint(int idx) |
275 | { | 275 | { |
276 | usb_select_endpoint(idx); | 276 | usb_select_endpoint(idx); |
277 | ISP1582_EPTYPE &= 8; | 277 | ISP1582_EPTYPE &= 8; |
@@ -288,12 +288,12 @@ void usb_reconnect(void) | |||
288 | ISP1582_MODE |= 1; /* SOFTCT on */ | 288 | ISP1582_MODE |= 1; /* SOFTCT on */ |
289 | } | 289 | } |
290 | 290 | ||
291 | void usb_cleanup(void) | 291 | static void usb_cleanup(void) |
292 | { | 292 | { |
293 | ISP1582_MODE &= ~1; /* SOFTCT off */ | 293 | ISP1582_MODE &= ~1; /* SOFTCT off */ |
294 | } | 294 | } |
295 | 295 | ||
296 | void usb_setup(int reset) | 296 | static void usb_setup(int reset) |
297 | { | 297 | { |
298 | int i; | 298 | int i; |
299 | 299 | ||
@@ -840,7 +840,7 @@ static void usb_handle_int(int i) | |||
840 | 840 | ||
841 | } | 841 | } |
842 | 842 | ||
843 | void usb_handle_interrupts(void) | 843 | static void usb_handle_interrupts(void) |
844 | { | 844 | { |
845 | #ifdef LCD_DEBUG | 845 | #ifdef LCD_DEBUG |
846 | char s[20]; | 846 | char s[20]; |
@@ -1002,7 +1002,7 @@ static void serial_free_out_fifo(int ep, unsigned char *buf, int len) | |||
1002 | serial_restart_output(ep); | 1002 | serial_restart_output(ep); |
1003 | } | 1003 | } |
1004 | 1004 | ||
1005 | void usb_serial_handle(void) | 1005 | static void usb_serial_handle(void) |
1006 | { | 1006 | { |
1007 | #ifdef BUTTONS | 1007 | #ifdef BUTTONS |
1008 | static int t = 0; | 1008 | static int t = 0; |