diff options
| author | hathach <[email protected]> | 2024-05-24 14:06:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-05-24 14:13:58 +0700 |
| commit | daffb24111c03e3630edf6496ff5bb65c2cf8c28 (patch) | |
| tree | 4e0710197b6b93390be9833170c775d48d5b4fe6 /src | |
| parent | 937b2eac3605e33887beb3604db72a0069b4fa93 (diff) | |
minor clean up
Diffstat (limited to 'src')
| -rw-r--r-- | src/device/dcd.h | 11 | ||||
| -rw-r--r-- | src/device/usbd.h | 2 |
2 files changed, 4 insertions, 9 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index 2d3dafa4c..f6735b077 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -24,8 +24,8 @@ * This file is part of the TinyUSB stack. */ -#ifndef _TUSB_DCD_H_ -#define _TUSB_DCD_H_ +#ifndef TUSB_DCD_H_ +#define TUSB_DCD_H_ #include "common/tusb_common.h" #include "osal/osal.h" @@ -36,11 +36,6 @@ #endif //--------------------------------------------------------------------+ -// Configuration -//--------------------------------------------------------------------+ - - -//--------------------------------------------------------------------+ // MACRO CONSTANT TYPEDEF PROTYPES //--------------------------------------------------------------------+ @@ -251,4 +246,4 @@ TU_ATTR_ALWAYS_INLINE static inline void dcd_event_sof(uint8_t rhport, uint32_t } #endif -#endif /* _TUSB_DCD_H_ */ +#endif diff --git a/src/device/usbd.h b/src/device/usbd.h index cba94fdae..e676006ab 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -60,7 +60,7 @@ void tud_task (void) { // Check if there is pending events need processing by tud_task() bool tud_task_event_ready(void); -#ifndef _TUSB_DCD_H_ +#ifndef TUSB_DCD_H_ extern void dcd_int_handler(uint8_t rhport); #endif |
