shared/tinyusb: Remove MICROPY_HW_USB_EXTERNAL_TINYUSB.
No longer needed as shared tinyusb is now used by the esp32 port. Signed-off-by: Andrew Leech <andrew@alelec.net>
This commit is contained in:
committed by
Damien George
parent
4247921c4e
commit
641f60045f
@@ -149,13 +149,7 @@ static void usbd_cdc_run_bootloader_task(mp_sched_node_t *node) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void
|
void tud_cdc_line_state_cb(uint8_t itf, bool dtr, bool rts) {
|
||||||
#if MICROPY_HW_USB_EXTERNAL_TINYUSB
|
|
||||||
mp_usbd_line_state_cb
|
|
||||||
#else
|
|
||||||
tud_cdc_line_state_cb
|
|
||||||
#endif
|
|
||||||
(uint8_t itf, bool dtr, bool rts) {
|
|
||||||
#if MICROPY_HW_USB_CDC && !MICROPY_EXCLUDE_SHARED_TINYUSB_USBD_CDC
|
#if MICROPY_HW_USB_CDC && !MICROPY_EXCLUDE_SHARED_TINYUSB_USBD_CDC
|
||||||
if (dtr) {
|
if (dtr) {
|
||||||
// A host application has started to open the cdc serial port.
|
// A host application has started to open the cdc serial port.
|
||||||
|
|||||||
@@ -35,8 +35,4 @@ uintptr_t mp_usbd_cdc_poll_interfaces(uintptr_t poll_flags);
|
|||||||
void tud_cdc_rx_cb(uint8_t itf);
|
void tud_cdc_rx_cb(uint8_t itf);
|
||||||
mp_uint_t mp_usbd_cdc_tx_strn(const char *str, mp_uint_t len);
|
mp_uint_t mp_usbd_cdc_tx_strn(const char *str, mp_uint_t len);
|
||||||
|
|
||||||
#if MICROPY_HW_USB_EXTERNAL_TINYUSB
|
|
||||||
void mp_usbd_line_state_cb(uint8_t itf, bool dtr, bool rts);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // MICROPY_INCLUDED_SHARED_TINYUSB_MP_USBD_CDC_H
|
#endif // MICROPY_INCLUDED_SHARED_TINYUSB_MP_USBD_CDC_H
|
||||||
|
|||||||
Reference in New Issue
Block a user