aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/usrp_uhd/device_addr.hpp4
-rw-r--r--include/usrp_uhd/usrp/dboard/interface.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/usrp_uhd/device_addr.hpp b/include/usrp_uhd/device_addr.hpp
index f0be44c1f..c082d9f84 100644
--- a/include/usrp_uhd/device_addr.hpp
+++ b/include/usrp_uhd/device_addr.hpp
@@ -18,7 +18,7 @@ namespace usrp_uhd{
*/
struct mac_addr_t{
struct ether_addr mac_addr;
- mac_addr_t(const std::string &str = "00:00:00:00:00:00");
+ mac_addr_t(const std::string &mac_addr_str = "00:00:00:00:00:00");
std::string to_string(void) const;
};
@@ -28,7 +28,7 @@ namespace usrp_uhd{
*/
struct ip_addr_t{
struct in_addr ip_addr;
- ip_addr_t(const std::string &str = "0.0.0.0");
+ ip_addr_t(const std::string &ip_addr_str = "0.0.0.0");
std::string to_string(void) const;
};
diff --git a/include/usrp_uhd/usrp/dboard/interface.hpp b/include/usrp_uhd/usrp/dboard/interface.hpp
index e6fdd9ad1..acbfc6d70 100644
--- a/include/usrp_uhd/usrp/dboard/interface.hpp
+++ b/include/usrp_uhd/usrp/dboard/interface.hpp
@@ -23,7 +23,7 @@ public:
//tells the host which device to use
enum spi_dev_t{
SPI_TX_DEV,
- SPI_RX_DEV,
+ SPI_RX_DEV
};
//args for writing spi data