diff options
| author | Wini-Buh <[email protected]> | 2021-06-03 22:17:30 +0200 |
|---|---|---|
| committer | Wini-Buh <[email protected]> | 2021-06-03 22:17:30 +0200 |
| commit | 5a554508caba50bda2a82095a66a1896b960daaf (patch) | |
| tree | c2a1aaafb98689d8827061a37cdbc7788a0eb4ad /src/device/usbd.h | |
| parent | e26cf6b26ca0d7c54f71332896d4bed9c418844a (diff) | |
| parent | ce30109b5bdb3ecd82f08c9dd48fe0f6f7f1713e (diff) | |
Merge remote-tracking branch 'upstream/master' into CCRX_Port
Diffstat (limited to 'src/device/usbd.h')
| -rw-r--r-- | src/device/usbd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index 04597a215..67f1e2913 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -70,8 +70,8 @@ bool tud_mounted(void); bool tud_suspended(void); // Check if device is ready to transfer -TU_ATTR_ALWAYS_INLINE -static inline bool tud_ready(void) +TU_ATTR_ALWAYS_INLINE static inline +bool tud_ready(void) { return tud_mounted() && !tud_suspended(); } |
