diff options
| author | hathach <[email protected]> | 2018-12-14 15:28:38 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-14 15:30:54 +0700 |
| commit | 2a60427bdc7d23d7c1ab1e687f5a8d9555a69f15 (patch) | |
| tree | 9a5a170d6cd7dc6e01558922109995c01116aca1 /src/class/custom/custom_host.h | |
| parent | a3713f801d97b1903593a53c02da682acb3acee0 (diff) | |
rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency
Diffstat (limited to 'src/class/custom/custom_host.h')
| -rw-r--r-- | src/class/custom/custom_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/custom/custom_host.h b/src/class/custom/custom_host.h index 5522db58b..a5fcb6fb4 100644 --- a/src/class/custom/custom_host.h +++ b/src/class/custom/custom_host.h @@ -62,7 +62,7 @@ static inline bool tusbh_custom_is_mounted(uint8_t dev_addr, uint16_t vendor_id, { (void) vendor_id; // TODO check this later (void) product_id; -// return (tusbh_device_get_mounted_class_flag(dev_addr) & BIT_(TUSB_CLASS_MAPPED_INDEX_END-1) ) != 0; +// return (tusbh_device_get_mounted_class_flag(dev_addr) & TU_BIT(TUSB_CLASS_MAPPED_INDEX_END-1) ) != 0; return false; } |
