diff options
| author | hathach <[email protected]> | 2013-03-23 11:34:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-23 11:34:51 +0700 |
| commit | d7ba86c85eb8cb5b15de53e503e75d04bf0cc836 (patch) | |
| tree | 085acba58b74380a569184840bfd1eb100a98044 /tinyusb/host/usbh.h | |
| parent | 0c6d406ddf68ae144982132d21349880896c2f74 (diff) | |
refractor
- rename usbh_device_info_t.status to state
- rename enum TUSB_DEVICE_STATUS_* to TUSB_DEVICE_STATE_*
Diffstat (limited to 'tinyusb/host/usbh.h')
| -rw-r--r-- | tinyusb/host/usbh.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tinyusb/host/usbh.h b/tinyusb/host/usbh.h index e0a1bc0e7..77a6ebe5d 100644 --- a/tinyusb/host/usbh.h +++ b/tinyusb/host/usbh.h @@ -95,13 +95,13 @@ /// Device Status enum tusbh_device_status_{ - TUSB_DEVICE_STATUS_UNPLUG = 0, - TUSB_DEVICE_STATUS_ADDRESSED, + TUSB_DEVICE_STATE_UNPLUG = 0, + TUSB_DEVICE_STATE_ADDRESSED, - TUSB_DEVICE_STATUS_READY, /* Configured */ + TUSB_DEVICE_STATE_READY, /* Configured */ - TUSB_DEVICE_STATUS_REMOVING, - TUSB_DEVICE_STATUS_SAFE_REMOVE, + TUSB_DEVICE_STATE_REMOVING, + TUSB_DEVICE_STATE_SAFE_REMOVE, }; typedef enum { |
