mirror of
https://github.com/hathach/tinyusb.git
synced 2025-05-08 14:45:49 +08:00
define hcd_devtree_info_t forr backward compatible
This commit is contained in:
parent
e7d4b5c9e7
commit
2abd3c54c4
@ -86,6 +86,9 @@ typedef struct {
|
||||
uint8_t speed;
|
||||
} tuh_bus_info_t;
|
||||
|
||||
// backward compatibility for hcd_devtree_info_t, maybe removed in the future
|
||||
#define hcd_devtree_info_t tuh_bus_info_t
|
||||
#define hcd_devtree_get_info(_daddr, _bus_info) tuh_bus_info_get(_daddr, _bus_info)
|
||||
|
||||
// ConfigID for tuh_configure()
|
||||
enum {
|
||||
|
Loading…
x
Reference in New Issue
Block a user