Просмотр исходного кода

rename timeout_timer.h to tusb_timeout.h

hathach 7 лет назад
Родитель
Сommit
361928f429

+ 1 - 1
src/class/hid/hid_device.c

@@ -45,7 +45,7 @@
 // INCLUDE
 //--------------------------------------------------------------------+
 #include "common/tusb_common.h"
-#include "common/timeout_timer.h"
+#include "common/tusb_timeout.h"
 #include "hid_device.h"
 #include "device/usbd_pvt.h"
 

+ 4 - 4
src/common/timeout_timer.h → src/common/tusb_timeout.h

@@ -1,6 +1,6 @@
 /**************************************************************************/
 /*!
-    @file     timeout_timer.h
+    @file     tusb_timeout.h
     @author   hathach (tinyusb.org)
 
     @section LICENSE
@@ -41,8 +41,8 @@
  *  @{ */
 
 
-#ifndef _TUSB_TIMEOUT_TTIMER_H_
-#define _TUSB_TIMEOUT_TTIMER_H_
+#ifndef _TUSB_TIMEOUT_H_
+#define _TUSB_TIMEOUT_H_
 
 #include "tusb_compiler.h"
 #include "tusb_hal.h"
@@ -80,6 +80,6 @@ static inline void timeout_blocking_wait(uint32_t msec)
  }
 #endif
 
-#endif /* _TUSB_TIMEOUT_TTIMER_H_ */
+#endif /* _TUSB_TIMEOUT_H_ */
 
 /** @} */

+ 1 - 1
src/host/ehci/ehci.c

@@ -44,7 +44,7 @@
 //--------------------------------------------------------------------+
 #include "hal/hal.h"
 #include "osal/osal.h"
-#include "common/timeout_timer.h"
+#include "common/tusb_timeout.h"
 
 #include "../hcd.h"
 #include "../usbh_hcd.h"

+ 1 - 1
src/host/ohci/ohci.c

@@ -44,7 +44,7 @@
 //--------------------------------------------------------------------+
 #include "hal/hal.h"
 #include "osal/osal.h"
-#include "common/timeout_timer.h"
+#include "common/tusb_timeout.h"
 
 #include "../hcd.h"
 #include "../usbh_hcd.h"

+ 1 - 1
src/portable/nxp/lpc11xx_lpc13xx/dcd_lpc_11uxx_13uxx.c

@@ -51,7 +51,7 @@
 #include "common/tusb_common.h"
 #include "hal/hal.h"
 #include "osal/osal.h"
-#include "common/timeout_timer.h"
+#include "common/tusb_timeout.h"
 
 #include "device/dcd.h"
 #include "usbd_dcd.h"

+ 1 - 1
src/portable/nxp/lpc43xx_lpc18xx/dcd_lpc43xx.c

@@ -46,7 +46,7 @@
 #include "common/tusb_common.h"
 #include "tusb_hal.h"
 #include "osal/osal.h"
-#include "common/timeout_timer.h"
+#include "common/tusb_timeout.h"
 
 #include "device/dcd.h"
 #include "dcd_lpc43xx.h"