summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-10-01 16:53:44 +0700
committerhathach <[email protected]>2025-10-01 16:53:44 +0700
commit13c240134ac0ce0d830e0257ca97d955e032ab93 (patch)
treeba51e1c6679ebe9698346542244f5a0baed97394
parent4e4e2be5662bf26fc3da6f79022db2f11134a64c (diff)
minor update
-rw-r--r--src/class/mtp/mtp.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/class/mtp/mtp.h b/src/class/mtp/mtp.h
index 84fd1b429..40b6dd8b0 100644
--- a/src/class/mtp/mtp.h
+++ b/src/class/mtp/mtp.h
@@ -24,13 +24,10 @@
* This file is part of the TinyUSB stack.
*/
-#ifndef _TUSB_MTP_H_
-#define _TUSB_MTP_H_
+#ifndef TUSB_MTP_H_
+#define TUSB_MTP_H_
-#include <stdint.h>
-#include <stdbool.h>
-#include <time.h>
-#include "tusb_option.h"
+#include "common/tusb_common.h"
#if (CFG_TUD_ENABLED && CFG_TUD_MTP)
@@ -887,6 +884,5 @@ TU_ATTR_ALWAYS_INLINE static inline uint32_t mtp_container_get_string(uint8_t* b
}
#endif
-#endif /* CFG_TUD_ENABLED && CFG_TUD_MTP */
-
-#endif /* _TUSB_MTP_H_ */
+#endif
+#endif