diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-11 10:22:26 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-11 10:22:26 -0700 |
commit | ced8ab50af1429d9ba7651da1b3b78014fd76e79 (patch) | |
tree | 4f0975a2594c4bfa97ebaa6b263e712858d2e8a4 /libusb | |
parent | d84daf84d2ced072782ef3c61e5088b06d950939 (diff) |
Diffstat (limited to 'libusb')
-rw-r--r-- | libusb/CMakeLists.txt | 1 | ||||
-rw-r--r-- | libusb/usb_common.c | 3 |
2 files changed, 3 insertions, 1 deletions
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 <stdint.h> /* for uint{n}_t types */ #include <stddef.h> /* for size_t */ #include <string.h> /* memcpy(newlib) */ -#include <assert.h> /* for assert(newlib) */ #include <stdlib.h> /* 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 <libmisc/assert.h> + #include <libusb/tusb_helpers.h> /* for LANGID_*, TU_UTF16() */ #include <libusb/usb_common.h> |