|
|
@@ -67,15 +67,6 @@ static inline uint32_t usb_rx_byte_count(uint32_t endpoint) |
|
|
|
return usb_rx_byte_count_data[endpoint]; |
|
|
|
} |
|
|
|
|
|
|
|
#ifdef CDC_DATA_INTERFACE |
|
|
|
extern uint32_t usb_cdc_line_coding[2]; |
|
|
|
extern volatile uint32_t usb_cdc_line_rtsdtr_millis; |
|
|
|
extern volatile uint32_t systick_millis_count; |
|
|
|
extern volatile uint8_t usb_cdc_line_rtsdtr; |
|
|
|
extern volatile uint8_t usb_cdc_transmit_flush_timer; |
|
|
|
extern void usb_serial_flush_callback(void); |
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef SEREMU_INTERFACE |
|
|
|
extern volatile uint8_t usb_seremu_transmit_flush_timer; |
|
|
|
extern void usb_seremu_flush_callback(void); |
|
|
@@ -119,6 +110,10 @@ extern void usb_touchscreen_update_callback(void); |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef CDC_DATA_INTERFACE |
|
|
|
#include "usb_serial.h" |
|
|
|
#endif |
|
|
|
|
|
|
|
#else // F_CPU < 20000000 |
|
|
|
|
|
|
|
#ifdef __cplusplus |