aboutsummaryrefslogtreecommitdiffstats
path: root/host/docs
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-07-24 15:58:13 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-07-24 15:27:04 -0500
commitc4d7e8bca1a2da5e3a07546e67cd7f63377ddee6 (patch)
tree199bcc3e4b22cfe733556bd178c8e29f96535e21 /host/docs
parent97852aba2393a20fd5e0c25313d26be4ce316a25 (diff)
downloaduhd-c4d7e8bca1a2da5e3a07546e67cd7f63377ddee6.tar.gz
uhd-c4d7e8bca1a2da5e3a07546e67cd7f63377ddee6.tar.bz2
uhd-c4d7e8bca1a2da5e3a07546e67cd7f63377ddee6.zip
docs: Fix daughterboard page formatting
Diffstat (limited to 'host/docs')
-rw-r--r--host/docs/dboards.dox6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/docs/dboards.dox b/host/docs/dboards.dox
index 0ef9531ba..7dc398f46 100644
--- a/host/docs/dboards.dox
+++ b/host/docs/dboards.dox
@@ -24,14 +24,14 @@ The X300 series will create subdevices 0 and 1 for each BasicRX or LFRX board.
The default is to make a channel for each subdevice. That can be controlled by
setting the subdev spec:
-~~~~{.cpp}
+~~~{.cpp}
auto usrp = uhd::usrp::multi_usrp::make("type=x300");
usrp->set_rx_subdev_spec("A:1"); // Only 1 channel using subdevice 1 on Radio A
~~~
The antenna mode is selected for each channel using the antenna API:
-~~~~{.cpp}
+~~~{.cpp}
auto usrp = uhd::usrp::multi_usrp::make("type=x300");
usrp->set_rx_antenna("A", 0); // Disable RXB port on channel 0
~~~
@@ -39,7 +39,7 @@ usrp->set_rx_antenna("A", 0); // Disable RXB port on channel 0
On the USRP2, the N200 series, the B100 series, the E100, and the USRP1 the mode
depends on the subdev spec applied:
-~~~~{.cpp}
+~~~{.cpp}
auto usrp = uhd::usrp::multi_usrp::make("type=usrp2");
usrp->set_rx_subdev_spec("A:A"); // Disable RXB port
~~~