diff options
-rw-r--r-- | include/driver/usbh_device_driver.h | 2 | ||||
-rw-r--r-- | include/usbh_core.h (renamed from include/usbh_hubbed.h) | 6 | ||||
-rw-r--r-- | include/usbh_driver_ac_midi.h | 2 | ||||
-rw-r--r-- | include/usbh_driver_gp_xbox.h | 2 | ||||
-rw-r--r-- | include/usbh_driver_hid_mouse.h | 2 | ||||
-rw-r--r-- | include/usbh_driver_hub.h | 2 | ||||
-rw-r--r-- | include/usbh_lld_stm32f4.h | 2 | ||||
-rw-r--r-- | src/demo.c | 2 | ||||
-rw-r--r-- | src/usart_helpers.h | 2 | ||||
-rw-r--r-- | src/usbh_core.c (renamed from src/usbh_hubbed.c) | 0 | ||||
-rw-r--r-- | src/usbh_driver_hid_mouse.c | 4 | ||||
-rw-r--r-- | src/usbh_driver_hub.c | 2 |
12 files changed, 14 insertions, 14 deletions
diff --git a/include/driver/usbh_device_driver.h b/include/driver/usbh_device_driver.h index 4f0ecea..2c67129 100644 --- a/include/driver/usbh_device_driver.h +++ b/include/driver/usbh_device_driver.h @@ -24,7 +24,7 @@ #define USBH_DEVICE_DRIVER_ #include "usbh_config.h" -#include "usbh_hubbed.h" +#include "usbh_core.h" #include <stdint.h> diff --git a/include/usbh_hubbed.h b/include/usbh_core.h index ca4a489..2315778 100644 --- a/include/usbh_hubbed.h +++ b/include/usbh_core.h @@ -20,8 +20,8 @@ *
*/
-#ifndef USBH_HUBBED_
-#define USBH_HUBBED_
+#ifndef USBH_CORE_
+#define USBH_CORE_
#include "usbh_config.h"
@@ -117,4 +117,4 @@ void usbh_poll(uint32_t time_curr_us); END_DECLS
-#endif
+#endif // USBH_CORE_
diff --git a/include/usbh_driver_ac_midi.h b/include/usbh_driver_ac_midi.h index 0993589..c692a64 100644 --- a/include/usbh_driver_ac_midi.h +++ b/include/usbh_driver_ac_midi.h @@ -23,7 +23,7 @@ #ifndef USBH_DRIVER_AC_MIDI_ #define USBH_DRIVER_AC_MIDI_ -#include "usbh_hubbed.h" +#include "usbh_core.h" #include <stdint.h> diff --git a/include/usbh_driver_gp_xbox.h b/include/usbh_driver_gp_xbox.h index 90d0ca1..32aed8a 100644 --- a/include/usbh_driver_gp_xbox.h +++ b/include/usbh_driver_gp_xbox.h @@ -23,7 +23,7 @@ #ifndef USBH_DRIVER_GP_XBOX_ #define USBH_DRIVER_GP_XBOX_ -#include "usbh_hubbed.h" +#include "usbh_core.h" #include <stdint.h> diff --git a/include/usbh_driver_hid_mouse.h b/include/usbh_driver_hid_mouse.h index de7707c..b60046a 100644 --- a/include/usbh_driver_hid_mouse.h +++ b/include/usbh_driver_hid_mouse.h @@ -23,7 +23,7 @@ #ifndef USBH_DRIVER_HID_MOUSE_ #define USBH_DRIVER_HID_MOUSE_ -#include "usbh_hubbed.h" +#include "usbh_core.h" #include <stdint.h> diff --git a/include/usbh_driver_hub.h b/include/usbh_driver_hub.h index 8555f79..1066074 100644 --- a/include/usbh_driver_hub.h +++ b/include/usbh_driver_hub.h @@ -23,7 +23,7 @@ #ifndef USBH_DRIVER_HUB_
#define USBH_DRIVER_HUB_
-#include "usbh_hubbed.h"
+#include "usbh_core.h"
BEGIN_DECLS
diff --git a/include/usbh_lld_stm32f4.h b/include/usbh_lld_stm32f4.h index a8f7b0a..ead40cd 100644 --- a/include/usbh_lld_stm32f4.h +++ b/include/usbh_lld_stm32f4.h @@ -23,7 +23,7 @@ #ifndef USBH_LLD_STM32F4_H_
#define USBH_LLD_STM32F4_H_
-#include "usbh_hubbed.h"
+#include "usbh_core.h"
#include <stdint.h>
@@ -21,7 +21,7 @@ */
#include "usart_helpers.h" /// provides LOG_PRINTF macros used for debugging
-#include "usbh_hubbed.h" /// provides usbh_init() and usbh_poll()
+#include "usbh_core.h" /// provides usbh_init() and usbh_poll()
#include "usbh_lld_stm32f4.h" /// provides low level usb host driver for stm32f4 platform
#include "usbh_driver_hid_mouse.h" /// provides usb device driver Human Interface Device - type mouse
#include "usbh_driver_hub.h" /// provides usb full speed hub driver (Low speed devices on hub are not supported)
diff --git a/src/usart_helpers.h b/src/usart_helpers.h index eef43fa..d36f689 100644 --- a/src/usart_helpers.h +++ b/src/usart_helpers.h @@ -23,7 +23,7 @@ #ifndef USBH_USART_HELPERS_H
#define USBH_USART_HELPERS_H
-#include "usbh_hubbed.h"
+#include "usbh_core.h"
#include <stdint.h>
#include <stdarg.h>
diff --git a/src/usbh_hubbed.c b/src/usbh_core.c index 82f080f..82f080f 100644 --- a/src/usbh_hubbed.c +++ b/src/usbh_core.c diff --git a/src/usbh_driver_hid_mouse.c b/src/usbh_driver_hid_mouse.c index 8324999..5265329 100644 --- a/src/usbh_driver_hid_mouse.c +++ b/src/usbh_driver_hid_mouse.c @@ -20,7 +20,7 @@ * */ -#include "usbh_hubbed.h" +#include "usbh_core.h" #include "driver/usbh_device_driver.h" #include "usbh_driver_hid_mouse.h" #include "usart_helpers.h" @@ -232,7 +232,7 @@ static void read_mouse_in(void *drvdata) } /** - * \param time_curr_us - monotically rising time (see usbh_hubbed.h) + * @param time_curr_us - monotically rising time (@see usbh_poll()) * unit is microseconds */ static void poll(void *drvdata, uint32_t time_curr_us) diff --git a/src/usbh_driver_hub.c b/src/usbh_driver_hub.c index eaaf896..7bd58cc 100644 --- a/src/usbh_driver_hub.c +++ b/src/usbh_driver_hub.c @@ -764,7 +764,7 @@ static void read_ep1(void *drvdata) }
/**
- * \param time_curr_us - monotically rising time (see usbh_hubbed.h)
+ * @param time_curr_us - monotically rising time (@see usbh_poll())
* unit is microseconds
*/
static void poll(void *drvdata, uint32_t time_curr_us)
|