This commit is contained in:
hathach
2021-05-27 00:13:07 +07:00
parent 814edec89f
commit c7cecf28c8
4 changed files with 10 additions and 11 deletions

View File

@@ -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();
}