usbuart: Moved aux_serial_receive_complete into usb_serial.c
This commit is contained in:
parent
c2d2263395
commit
79898808af
|
@ -64,6 +64,8 @@ static void usb_serial_set_state(usbd_device *dev, uint16_t iface, uint8_t ep);
|
|||
static void debug_uart_send_callback(usbd_device *dev, uint8_t ep);
|
||||
static void debug_uart_receive_callback(usbd_device *dev, uint8_t ep);
|
||||
|
||||
static bool aux_serial_receive_complete = true;
|
||||
|
||||
#ifdef ENABLE_DEBUG
|
||||
/*
|
||||
* This call initialises "SemiHosting", only we then do our own SVC interrupt things to
|
||||
|
|
|
@ -45,8 +45,6 @@ void debug_uart_run(void);
|
|||
extern char buf_rx[RX_FIFO_SIZE + sizeof(uint64_t)];
|
||||
/* RX Fifo out pointer, writes assumed to be atomic */
|
||||
extern uint8_t buf_rx_out;
|
||||
/* RX usb transfer complete */
|
||||
extern bool aux_serial_receive_complete;
|
||||
|
||||
#ifdef ENABLE_DEBUG
|
||||
/* Debug Fifo buffer with space for copy fn overrun */
|
||||
|
|
|
@ -42,8 +42,6 @@
|
|||
char buf_rx[RX_FIFO_SIZE + sizeof(uint64_t)];
|
||||
/* RX Fifo out pointer, writes assumed to be atomic */
|
||||
uint8_t buf_rx_out;
|
||||
/* RX usb transfer complete */
|
||||
bool aux_serial_receive_complete = true;
|
||||
|
||||
#ifdef ENABLE_DEBUG
|
||||
/* Debug Fifo buffer with space for copy fn overrun */
|
||||
|
|
Loading…
Reference in New Issue