usbuart: Moved aux_serial_receive_complete into usb_serial.c

This commit is contained in:
dragonmux 2022-08-20 21:00:16 +01:00 committed by Piotr Esden-Tempski
parent c2d2263395
commit 79898808af
3 changed files with 2 additions and 4 deletions

View File

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

View File

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

View File

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