From 9353d16391a1923be32f861e9810d1f271608721 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Thu, 13 Aug 2015 11:53:04 -0700 Subject: uhd: Fixes to build with MSVC - Included list header in soft_reg header - Fixed typo in x300_impl --- host/include/uhd/utils/soft_register.hpp | 1 + host/lib/usrp/x300/x300_impl.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/host/include/uhd/utils/soft_register.hpp b/host/include/uhd/utils/soft_register.hpp index 6c712686a..9006ab5c7 100644 --- a/host/include/uhd/utils/soft_register.hpp +++ b/host/include/uhd/utils/soft_register.hpp @@ -29,6 +29,7 @@ #include #include #include +#include /*! \file soft_register.hpp * Utilities to access and index hardware registers. diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index 470c1e17d..5e3688bac 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -1340,7 +1340,7 @@ void x300_impl::register_loopback_self_test(wb_iface::sptr iface) void x300_impl::set_time_source_out(mboard_members_t &mb, const bool enb) { - mb.fw_regmap->clock_ctrl_reg.write(fw_regmap_t::fw_regmap_t::clk_ctrl_reg_t::PPS_OUT_EN, enb?1:0); + mb.fw_regmap->clock_ctrl_reg.write(fw_regmap_t::clk_ctrl_reg_t::PPS_OUT_EN, enb?1:0); } void x300_impl::update_clock_source(mboard_members_t &mb, const std::string &source) -- cgit v1.2.3