diff options
| author | Ha Thach <[email protected]> | 2025-10-29 19:15:53 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-29 19:15:53 +0700 |
| commit | 3ff54153d42c83fc0a1e13106c6632c3237b1670 (patch) | |
| tree | a6ec29546beafa69c752a8b6dfad5c2b809633cd /src/host | |
| parent | a6efc7d722f7869da76cf70e37ebf3593c66484e (diff) | |
| parent | 78bd6230649aee3f7731ffbce603742f31c2295e (diff) | |
Merge pull request #3320 from hathach/more-sast
fix warnings
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/hcd.h | 4 | ||||
| -rw-r--r-- | src/host/usbh.h | 6 | ||||
| -rw-r--r-- | src/host/usbh_pvt.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h index d3551bf5b..4a17326ec 100644 --- a/src/host/hcd.h +++ b/src/host/hcd.h @@ -24,8 +24,8 @@ * This file is part of the TinyUSB stack. */ -#ifndef _TUSB_HCD_H_ -#define _TUSB_HCD_H_ +#ifndef TUSB_HCD_H_ +#define TUSB_HCD_H_ #include "common/tusb_common.h" #include "osal/osal.h" diff --git a/src/host/usbh.h b/src/host/usbh.h index 8d48bf90d..4b6747848 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -24,8 +24,8 @@ * This file is part of the TinyUSB stack. */ -#ifndef _TUSB_USBH_H_ -#define _TUSB_USBH_H_ +#ifndef TUSB_USBH_H_ +#define TUSB_USBH_H_ #ifdef __cplusplus extern "C" { @@ -179,7 +179,7 @@ TU_ATTR_ALWAYS_INLINE static inline void tuh_task(void) { // Check if there is pending events need processing by tuh_task() bool tuh_task_event_ready(void); -#ifndef _TUSB_HCD_H_ +#ifndef TUSB_HCD_H_ extern void hcd_int_handler(uint8_t rhport, bool in_isr); #endif diff --git a/src/host/usbh_pvt.h b/src/host/usbh_pvt.h index 9d91e52e8..d722bb7e8 100644 --- a/src/host/usbh_pvt.h +++ b/src/host/usbh_pvt.h @@ -24,8 +24,8 @@ * This file is part of the TinyUSB stack. */ -#ifndef _TUSB_USBH_PVT_H_ -#define _TUSB_USBH_PVT_H_ +#ifndef TUSB_USBH_PVT_H_ +#define TUSB_USBH_PVT_H_ #include "osal/osal.h" #include "common/tusb_fifo.h" |
