瀏覽代碼

teensy3: usb_dev: Include <usb_serial.h>

Include <usb_serial.h> instead of duplicating the needed forward
declarations.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
main
Geert Uytterhoeven 4 年之前
父節點
當前提交
80b2ce40a9
共有 1 個文件被更改,包括 4 次插入9 次删除
  1. +4
    -9
      teensy3/usb_dev.h

+ 4
- 9
teensy3/usb_dev.h 查看文件

@@ -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

Loading…
取消
儲存