summaryrefslogtreecommitdiff
path: root/examples/host/bare_api
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-06-18 12:52:32 +0700
committerhathach <[email protected]>2024-06-18 12:52:32 +0700
commitf93eb40b1d9f52ec4b8557e190ad64b3588c63c9 (patch)
treea2979bd21bc603adaedbba0cc58d477c043426ad /examples/host/bare_api
parent007a8bd46dce4020a2ef972749dacb9d80428371 (diff)
add host/device_info example
Diffstat (limited to 'examples/host/bare_api')
-rw-r--r--examples/host/bare_api/src/main.c4
-rw-r--r--examples/host/bare_api/src/tusb_config.h6
2 files changed, 3 insertions, 7 deletions
diff --git a/examples/host/bare_api/src/main.c b/examples/host/bare_api/src/main.c
index 670e58498..ae574c078 100644
--- a/examples/host/bare_api/src/main.c
+++ b/examples/host/bare_api/src/main.c
@@ -23,10 +23,6 @@
*
*/
-/* This example current worked and tested with following controller
- * - Sony DualShock 4 [CUH-ZCT2x] VID = 0x054c, PID = 0x09cc
- */
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/examples/host/bare_api/src/tusb_config.h b/examples/host/bare_api/src/tusb_config.h
index 432446e94..fab233be0 100644
--- a/examples/host/bare_api/src/tusb_config.h
+++ b/examples/host/bare_api/src/tusb_config.h
@@ -23,8 +23,8 @@
*
*/
-#ifndef _TUSB_CONFIG_H_
-#define _TUSB_CONFIG_H_
+#ifndef TUSB_CONFIG_H_
+#define TUSB_CONFIG_H_
#ifdef __cplusplus
extern "C" {
@@ -118,4 +118,4 @@
}
#endif
-#endif /* _TUSB_CONFIG_H_ */
+#endif