diff options
| author | hathach <[email protected]> | 2021-12-29 18:27:29 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-12-29 18:27:29 +0700 |
| commit | 30aba24ddc0d25dfa796de3a5d3857a13d440f5e (patch) | |
| tree | 8cbb988ba6ca126b330cf1fb59a903dbcbee5c90 /src/common | |
| parent | a6789b5d5a3c9e41771e5eb8fdb08182c95fbe08 (diff) | |
| parent | 527036b1f5a3f0aa3994f62e3ab18fa990a40cf8 (diff) | |
Merge branch 'master' of https://github.com/t123yh/tinyusb into t123yh-master
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_compiler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/tusb_compiler.h b/src/common/tusb_compiler.h index d3284c62a..38e6a16d0 100644 --- a/src/common/tusb_compiler.h +++ b/src/common/tusb_compiler.h @@ -137,9 +137,11 @@ #define TU_BSWAP16(u16) (__builtin_bswap16(u16)) #define TU_BSWAP32(u32) (__builtin_bswap32(u32)) + #ifndef __ARMCC_VERSION // List of obsolete callback function that is renamed and should not be defined. // Put it here since only gcc support this pragma - #pragma GCC poison tud_vendor_control_request_cb + #pragma GCC poison tud_vendor_control_request_cb + #endif #elif defined(__TI_COMPILER_VERSION__) #define TU_ATTR_ALIGNED(Bytes) __attribute__ ((aligned(Bytes))) |
