File tree 2 files changed +1
-11
lines changed
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -149,13 +149,7 @@ static void usbd_cdc_run_bootloader_task(mp_sched_node_t *node) {
149
149
}
150
150
#endif
151
151
152
- void
153
- #if MICROPY_HW_USB_EXTERNAL_TINYUSB
154
- mp_usbd_line_state_cb
155
- #else
156
- tud_cdc_line_state_cb
157
- #endif
158
- (uint8_t itf , bool dtr , bool rts ) {
152
+ void tud_cdc_line_state_cb (uint8_t itf , bool dtr , bool rts ) {
159
153
#if MICROPY_HW_USB_CDC && !MICROPY_EXCLUDE_SHARED_TINYUSB_USBD_CDC
160
154
if (dtr ) {
161
155
// A host application has started to open the cdc serial port.
Original file line number Diff line number Diff line change @@ -35,8 +35,4 @@ uintptr_t mp_usbd_cdc_poll_interfaces(uintptr_t poll_flags);
35
35
void tud_cdc_rx_cb (uint8_t itf );
36
36
mp_uint_t mp_usbd_cdc_tx_strn (const char * str , mp_uint_t len );
37
37
38
- #if MICROPY_HW_USB_EXTERNAL_TINYUSB
39
- void mp_usbd_line_state_cb (uint8_t itf , bool dtr , bool rts );
40
- #endif
41
-
42
38
#endif // MICROPY_INCLUDED_SHARED_TINYUSB_MP_USBD_CDC_H
You can’t perform that action at this time.
0 commit comments