From a9bc198bc38901f6a4d25e53f77936ec205dd258 Mon Sep 17 00:00:00 2001 From: dongjiuzhu1 Date: Tue, 19 Dec 2023 21:48:46 +0800 Subject: [PATCH] composite.c warning usbdev/composite.c:649:36: warning: implicit declaration of function 'board_usbdev_pid' [-Wimplicit-function-declaration] 649 | uint16_t pid = board_usbdev_pid(); usbdev/composite.c:650:36: warning: implicit declaration of function 'board_usbdev_vid' [-Wimplicit-function-declaration] 650 | uint16_t vid = board_usbdev_vid(); Signed-off-by: dongjiuzhu1 --- drivers/usbdev/composite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usbdev/composite.c b/drivers/usbdev/composite.c index 68e899a6aa..d95e61ee3d 100644 --- a/drivers/usbdev/composite.c +++ b/drivers/usbdev/composite.c @@ -38,7 +38,7 @@ #include #include -#ifdef CONFIG_BOARD_USBDEV_SERIALSTR +#if defined(CONFIG_BOARD_USBDEV_SERIALSTR) || defined(CONFIG_BOARD_USBDEV_PIDVID) # include #endif