From ced8ab50af1429d9ba7651da1b3b78014fd76e79 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 11 Nov 2024 10:22:26 -0700 Subject: libmisc: Write my own assert.h --- libusb/CMakeLists.txt | 1 + libusb/usb_common.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'libusb') diff --git a/libusb/CMakeLists.txt b/libusb/CMakeLists.txt index f5d6ae2..c23f30e 100644 --- a/libusb/CMakeLists.txt +++ b/libusb/CMakeLists.txt @@ -14,4 +14,5 @@ target_link_libraries(libusb INTERFACE tinyusb_board libcr_ipc + libmisc ) diff --git a/libusb/usb_common.c b/libusb/usb_common.c index ceabad3..17dba0a 100644 --- a/libusb/usb_common.c +++ b/libusb/usb_common.c @@ -7,11 +7,12 @@ #include /* for uint{n}_t types */ #include /* for size_t */ #include /* memcpy(newlib) */ -#include /* for assert(newlib) */ #include /* for malloc(pico_malloc), realloc(pico_malloc), reallocarray(pico_malloc) */ #include "bsp/board_api.h" /* for board_init(), board_init_after_usb(), board_usb_get_serial(TinyUSB) */ #include "tusb.h" /* for various tusb_*_t types */ +#include + #include /* for LANGID_*, TU_UTF16() */ #include -- cgit v1.2.3-2-g168b