hathach 8 년 전
부모
커밋
bd8fc5a112
3개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 2 2
      tinyusb/class/custom_host.c
  2. 4 4
      tinyusb/class/custom_host.h
  3. 1 1
      tinyusb/tusb.h

+ 2 - 2
tinyusb/class/custom_class_host.c → tinyusb/class/custom_host.c

@@ -1,6 +1,6 @@
 /**************************************************************************/
 /*!
-    @file     custom_class_host.c
+    @file     custom_host.c
     @author   hathach (tinyusb.org)
 
     @section LICENSE
@@ -46,7 +46,7 @@
 // INCLUDE
 //--------------------------------------------------------------------+
 #include "common/tusb_common.h"
-#include "custom_class.h"
+#include "custom_host.h"
 
 //--------------------------------------------------------------------+
 // MACRO CONSTANT TYPEDEF

+ 4 - 4
tinyusb/class/custom_class.h → tinyusb/class/custom_host.h

@@ -1,6 +1,6 @@
 /**************************************************************************/
 /*!
-    @file     custom_class.h
+    @file     custom_host.h
     @author   hathach (tinyusb.org)
 
     @section LICENSE
@@ -40,8 +40,8 @@
  *  \defgroup Group_Custom Custom Class (not supported yet)
  *  @{ */
 
-#ifndef _TUSB_CUSTOM_CLASS_H_
-#define _TUSB_CUSTOM_CLASS_H_
+#ifndef _TUSB_CUSTOM_HOST_H_
+#define _TUSB_CUSTOM_HOST_H_
 
 #include "common/tusb_common.h"
 #include "host/usbh.h"
@@ -82,6 +82,6 @@ void         cush_close(uint8_t dev_addr);
  }
 #endif
 
-#endif /* _TUSB_CUSTOM_CLASS_H_ */
+#endif /* _TUSB_CUSTOM_HOST_H_ */
 
 /** @} */

+ 1 - 1
tinyusb/tusb.h

@@ -67,7 +67,7 @@
   #endif
 
   #if CFG_TUSB_HOST_CUSTOM_CLASS
-    #include "class/custom_class.h"
+    #include "class/custom_host.h"
   #endif
 
 #endif