diff options
| author | HiFiPhile <[email protected]> | 2025-12-15 23:01:36 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2026-02-27 11:46:54 +0100 |
| commit | a3fd3071c17bdc7392db1361f3a97019351af337 (patch) | |
| tree | 6bb517c65a9bad37852f2535fc7d7c9ae76572a7 /src/tusb.c | |
| parent | 5095ec97d872d51bd338e49987d8e336b9939628 (diff) | |
Fix IAR warnings
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/tusb.c')
| -rw-r--r-- | src/tusb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tusb.c b/src/tusb.c index ed254a10b..803803ca2 100644 --- a/src/tusb.c +++ b/src/tusb.c @@ -39,6 +39,12 @@ #include "host/usbh_pvt.h" #endif +// Suppress IAR warning +// Warning[Pe111]: statement is unreachable +#if defined(__ICCARM__) +#pragma diag_suppress = Pe111 +#endif + tusb_role_t _tusb_rhport_role[TUP_USBIP_CONTROLLER_NUM] = { TUSB_ROLE_INVALID }; //-------------------------------------------------------------------- |
