aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2016-06-27 10:48:29 -0700
committerMartin Braun <martin.braun@ettus.com>2016-06-27 13:58:28 -0700
commite1139b25429f41092bef76584dbd5912014b8768 (patch)
treea6a58daf4bc9882750d8ef797a794a54e802fc7a /host/include
parent23a04bf3ed4c4745492c5316d8921ecba1fb6499 (diff)
downloaduhd-e1139b25429f41092bef76584dbd5912014b8768.tar.gz
uhd-e1139b25429f41092bef76584dbd5912014b8768.tar.bz2
uhd-e1139b25429f41092bef76584dbd5912014b8768.zip
Octoclock: Fix firmware version compatibility
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp_clock/octoclock_eeprom.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/host/include/uhd/usrp_clock/octoclock_eeprom.hpp b/host/include/uhd/usrp_clock/octoclock_eeprom.hpp
index a521000dd..aaa6296ae 100644
--- a/host/include/uhd/usrp_clock/octoclock_eeprom.hpp
+++ b/host/include/uhd/usrp_clock/octoclock_eeprom.hpp
@@ -40,8 +40,9 @@ public:
/*!
* Make a new OctoClock EEPROM handler.
* \param transport the UDP transport to the OctoClock
+ * \param proto_ver firmware protocol version
*/
- octoclock_eeprom_t(transport::udp_simple::sptr transport);
+ octoclock_eeprom_t(transport::udp_simple::sptr transport, boost::uint32_t proto_ver);
/*!
* Write the contents of this object to the EEPROM.
@@ -50,6 +51,7 @@ public:
private:
transport::udp_simple::sptr xport;
+ boost::uint32_t _proto_ver;
void _load();
void _store() const;