diff options
| author | hathach <[email protected]> | 2013-03-13 00:02:45 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-13 00:02:45 +0700 |
| commit | 79e277d323a4c20070dbd9d34d058ea3b6b55e7d (patch) | |
| tree | 85bfcc2247a5558b939d6efc0b9ba54fd50d569b /tinyusb/common | |
| parent | d2bd80109ef5fb46ca46fae168f5d3a5096794bc (diff) | |
go through all the enumeration (up to get full configuration)
- fix init_qhd for address 0 (clear queue head --> ehci controller halted)
- fix bug in usbh_init missing address0 for semaphore create
TUSB_CFG_DEBUG == 3: --> ATTR_ALWAYS_INLINE is null --> allow gcc to export "normal inline" function
Diffstat (limited to 'tinyusb/common')
| -rw-r--r-- | tinyusb/common/compiler/compiler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/common/compiler/compiler.h b/tinyusb/common/compiler/compiler.h index 8eb01ef3e..dca378dad 100644 --- a/tinyusb/common/compiler/compiler.h +++ b/tinyusb/common/compiler/compiler.h @@ -58,6 +58,10 @@ #else #define STATIC_ static #define INLINE_ inline + + #if TUSB_CFG_DEBUG == 3 + #define ATTR_ALWAYS_INLINE // no inline for debug = 3 + #endif #endif |
