aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp_clock/octoclock/common.h
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/lib/usrp_clock/octoclock/common.h
parent23a04bf3ed4c4745492c5316d8921ecba1fb6499 (diff)
downloaduhd-e1139b25429f41092bef76584dbd5912014b8768.tar.gz
uhd-e1139b25429f41092bef76584dbd5912014b8768.tar.bz2
uhd-e1139b25429f41092bef76584dbd5912014b8768.zip
Octoclock: Fix firmware version compatibility
Diffstat (limited to 'host/lib/usrp_clock/octoclock/common.h')
-rw-r--r--host/lib/usrp_clock/octoclock/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp_clock/octoclock/common.h b/host/lib/usrp_clock/octoclock/common.h
index 191b93d36..43c098e81 100644
--- a/host/lib/usrp_clock/octoclock/common.h
+++ b/host/lib/usrp_clock/octoclock/common.h
@@ -25,8 +25,8 @@
*/
#ifdef __cplusplus
-#define UHD_OCTOCLOCK_SEND_AND_RECV(xport, pkt_code, pkt_out, len, data) do {\
- pkt_out.proto_ver = OCTOCLOCK_FW_COMPAT_NUM; \
+#define UHD_OCTOCLOCK_SEND_AND_RECV(xport, fw_version, pkt_code, pkt_out, len, data) do {\
+ pkt_out.proto_ver = fw_version; \
pkt_out.code = pkt_code; \
xport->send(boost::asio::buffer(&pkt_out, sizeof(octoclock_packet_t))); \
len = xport->recv(boost::asio::buffer(data), 2);\