usbuart: Moved usbuart_usb_in_cb into usb_serial.c
This commit is contained in:
parent
67e8a5b840
commit
a0fab9b772
|
@ -299,8 +299,9 @@ static void usbuart_usb_in_cb(usbd_device *dev, uint8_t ep)
|
|||
{
|
||||
(void) ep;
|
||||
(void) dev;
|
||||
|
||||
#if defined(STM32F0) || defined(STM32F1) || defined(STM32F3) || defined(STM32F4)
|
||||
debug_uart_send_rx_packet();
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -246,14 +246,6 @@ void usbuart_usb_out_cb(usbd_device *dev, uint8_t ep)
|
|||
}
|
||||
#endif
|
||||
|
||||
void usbuart_usb_in_cb(usbd_device *dev, uint8_t ep)
|
||||
{
|
||||
(void) ep;
|
||||
(void) dev;
|
||||
|
||||
debug_uart_send_rx_packet();
|
||||
}
|
||||
|
||||
#if defined(USART_ICR)
|
||||
#define USBUSART_ISR_TEMPLATE(USART, DMA_IRQ) do { \
|
||||
nvic_disable_irq(DMA_IRQ); \
|
||||
|
|
|
@ -90,12 +90,6 @@ void usbuart_usb_out_cb(usbd_device *dev, uint8_t ep)
|
|||
}
|
||||
#endif
|
||||
|
||||
void usbuart_usb_in_cb(usbd_device *dev, uint8_t ep)
|
||||
{
|
||||
(void) dev;
|
||||
(void) ep;
|
||||
}
|
||||
|
||||
/*
|
||||
* Read a character from the UART RX and stuff it in a software FIFO.
|
||||
* Allowed to read from FIFO out pointer, but not write to it.
|
||||
|
|
Loading…
Reference in New Issue