summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-04-26 00:22:22 +0200
committerGitHub <[email protected]>2024-04-26 00:22:22 +0200
commit69313ef45564cc8967575f47fb8c57371cbea470 (patch)
treed8c779fa11c7379c48a4a365a892102c7342efe9
parenta0cba9b0454b72905075d4adb131e77a16b63bcf (diff)
parent1e7091dae98ea3eeba4789364c290199b157c368 (diff)
Merge pull request #2609 from tyustli/patch-1
Remove redundant header file includes for the hid class
-rw-r--r--examples/host/bare_api/src/main.c1
-rw-r--r--src/tusb.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/host/bare_api/src/main.c b/examples/host/bare_api/src/main.c
index 940840a30..670e58498 100644
--- a/examples/host/bare_api/src/main.c
+++ b/examples/host/bare_api/src/main.c
@@ -34,6 +34,7 @@
#include "bsp/board_api.h"
#include "tusb.h"
+#include "class/hid/hid.h"
// English
#define LANGUAGE_ID 0x0409
diff --git a/src/tusb.h b/src/tusb.h
index c9d56d3c3..4f69a1414 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -38,8 +38,6 @@
#include "osal/osal.h"
#include "common/tusb_fifo.h"
-#include "class/hid/hid.h"
-
//------------- TypeC -------------//
#if CFG_TUC_ENABLED
#include "typec/usbc.h"