8000 nrf/usb: Use shared/tinyusb cdc functions. · micropython/micropython@4f590cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 4f590cb

Browse files
committed
nrf/usb: Use shared/tinyusb cdc functions.
Signed-off-by: Andrew Leech <andrew@alelec.net>
1 parent e91b747 commit 4f590cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
< 8000 div class="Diff-module__diffHeaderWrapper--rsdD4" style="--header-sticky-offset:0px">

ports/nrf/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ SRC_SHARED_C += $(addprefix shared/,\
185185
runtime/pyexec.c \
186186
runtime/sys_stdio_mphal.c \
187187
runtime/interrupt_char.c \
188-
tinyusb/mp_cdc_common.c \
188+
tinyusb/mp_usbd_cdc.c \
189189
timeutils/timeutils.c \
190190
)
191191

ports/nrf/drivers/usb/usb_cdc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static void usb_cdc_loop(void) {
158158
cdc_task(true);
159159
}
160160

161-
void tud_cdc_rx_cb(uint8_t itf) {
161+
void mp_usbd_cdc_rx_cb(uint8_t itf) {
162162
cdc_task(false);
163163
}
164164

0 commit comments

Comments
 (0)
0