From e92f9fc658566d592e50fa96bbf017b8f235d598 Mon Sep 17 00:00:00 2001 From: Joshua DeWeese Date: Mon, 21 Aug 2023 10:09:08 -0400 Subject: [PATCH] pkg/tinyusb: add missing include The macro `AUTO_INIT_PRIO_MOD_TINYUSB` was being used, but not defined. This patch includes the header where `AUTO_INIT_PRIO_MOD_TINYUSB` is defined to fix the compiler error. --- pkg/tinyusb/contrib/tinyusb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/tinyusb/contrib/tinyusb.c b/pkg/tinyusb/contrib/tinyusb.c index 5e858620c4..589d78f98e 100644 --- a/pkg/tinyusb/contrib/tinyusb.c +++ b/pkg/tinyusb/contrib/tinyusb.c @@ -19,6 +19,7 @@ #if IS_USED(MODULE_AUTO_INIT) #include "auto_init_utils.h" +#include "auto_init_priorities.h" #endif #define ENABLE_DEBUG 0