diff options
| author | HiFiPhile <[email protected]> | 2024-11-30 18:05:04 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-11-30 18:05:04 +0100 |
| commit | c41d9db3b1cf23b10b755b55a231fc9b1a7dd147 (patch) | |
| tree | cfd006e9a2b6b3cb82a1c8c9f96a6671d5cf7cbb /src/class/cdc/cdc_host.h | |
| parent | 486e14ea9b66432396089367e61a0480bbb960a9 (diff) | |
| parent | 2179fb1bd93b71d755c4bf212aff7094f5e8337d (diff) | |
Merge branch 'master' into rt1170
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/class/cdc/cdc_host.h')
| -rw-r--r-- | src/class/cdc/cdc_host.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/class/cdc/cdc_host.h b/src/class/cdc/cdc_host.h index b63dd1530..df975b2f0 100644 --- a/src/class/cdc/cdc_host.h +++ b/src/class/cdc/cdc_host.h @@ -89,8 +89,7 @@ bool tuh_cdc_get_dtr(uint8_t idx); bool tuh_cdc_get_rts(uint8_t idx); // Check if interface is connected (DTR active) -TU_ATTR_ALWAYS_INLINE static inline bool tuh_cdc_connected(uint8_t idx) -{ +TU_ATTR_ALWAYS_INLINE static inline bool tuh_cdc_connected(uint8_t idx) { return tuh_cdc_get_dtr(idx); } |
