Browse Source

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>
teensy4-core
Geert Uytterhoeven 4 years ago
parent
commit
80b2ce40a9
1 changed files with 4 additions and 9 deletions
  1. +4
    -9
      teensy3/usb_dev.h

+ 4
- 9
teensy3/usb_dev.h View File

return usb_rx_byte_count_data[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 #ifdef SEREMU_INTERFACE
extern volatile uint8_t usb_seremu_transmit_flush_timer; extern volatile uint8_t usb_seremu_transmit_flush_timer;
extern void usb_seremu_flush_callback(void); extern void usb_seremu_flush_callback(void);
} }
#endif #endif


#ifdef CDC_DATA_INTERFACE
#include "usb_serial.h"
#endif

#else // F_CPU < 20000000 #else // F_CPU < 20000000


#ifdef __cplusplus #ifdef __cplusplus

Loading…
Cancel
Save