aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp_clock/octoclock/octoclock_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-02-03 14:39:10 -0800
committeratrnati <54334261+atrnati@users.noreply.github.com>2020-02-04 08:53:01 -0600
commit8be5e2d4dd79e7c0324762fe33cc48aada85c317 (patch)
tree57466a3531ed1d8d07ee2f5a431b216300af9e79 /host/lib/usrp_clock/octoclock/octoclock_impl.hpp
parent4b1d346a80f860ebcf26712b721606c19dd904dd (diff)
downloaduhd-8be5e2d4dd79e7c0324762fe33cc48aada85c317.tar.gz
uhd-8be5e2d4dd79e7c0324762fe33cc48aada85c317.tar.bz2
uhd-8be5e2d4dd79e7c0324762fe33cc48aada85c317.zip
octoclock: Change type of EEPROM property to mboard_eeprom_t
Before, the type was octoclock_eeprom_t, which was incompatible with mboard_eeprom_t and would cause issues with uhd_usrp_probe. octoclock_eeprom_t is a superset of mboard_eeprom_t, and there is no necessity for exposing the additional features to the public. This harmonizes the Octoclock prop tree with the rest of UHD, and fixes an issue where the Octoclock won't allow uhd_usrp_probe on master branch.
Diffstat (limited to 'host/lib/usrp_clock/octoclock/octoclock_impl.hpp')
-rw-r--r--host/lib/usrp_clock/octoclock/octoclock_impl.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp_clock/octoclock/octoclock_impl.hpp b/host/lib/usrp_clock/octoclock/octoclock_impl.hpp
index 01c1f91eb..8f36b17a0 100644
--- a/host/lib/usrp_clock/octoclock/octoclock_impl.hpp
+++ b/host/lib/usrp_clock/octoclock/octoclock_impl.hpp
@@ -15,6 +15,7 @@
#include <uhd/types/dict.hpp>
#include <uhd/types/sensors.hpp>
#include <uhd/usrp/gps_ctrl.hpp>
+#include <uhd/usrp/mboard_eeprom.hpp>
#include <uhd/usrp_clock/octoclock_eeprom.hpp>
#include <boost/thread.hpp>
#include <memory>
@@ -54,8 +55,7 @@ private:
uint32_t _sequence;
uint32_t _proto_ver;
- void _set_eeprom(
- const std::string& oc, const uhd::usrp_clock::octoclock_eeprom_t& oc_eeprom);
+ void _set_eeprom(const std::string& oc, const uhd::usrp::mboard_eeprom_t& oc_eeprom);
uint32_t _get_fw_version(const std::string& oc);