mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
b200: Add a prop tree node usb_version
At /mboards/0/usb_version, we can now read back an int. It's either 2 or 3, depending on what we're using.
This commit is contained in:
parent
6791846221
commit
e33619bcb6
@ -483,6 +483,7 @@ b200_impl::b200_impl(
|
||||
} // flush ctrl xport
|
||||
_tree->create<double>(mb_path / "link_max_rate")
|
||||
.set((usb_speed == 3) ? B200_MAX_RATE_USB3 : B200_MAX_RATE_USB2);
|
||||
_tree->create<int>(mb_path / "usb_version").set(usb_speed);
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Async task structure
|
||||
|
||||
Loading…
Reference in New Issue
Block a user