aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-09-28 16:35:19 -0700
committerJosh Blum <josh@joshknows.com>2011-09-28 16:35:19 -0700
commitbb777ac71e1f4d3554d742fd512ac5c68f1d76d0 (patch)
treea1076d6d2b373f59f17bbda1d4845d680f2f9ad1
parent9d00821b51301412071944315e9d1555482b7e39 (diff)
downloaduhd-bb777ac71e1f4d3554d742fd512ac5c68f1d76d0.tar.gz
uhd-bb777ac71e1f4d3554d742fd512ac5c68f1d76d0.tar.bz2
uhd-bb777ac71e1f4d3554d742fd512ac5c68f1d76d0.zip
usrp2: allow backwards compat with previous fw
You only need the newer fw for uart streaming. This is needed only if you use an internal gpsdo.
-rw-r--r--host/lib/usrp/usrp2/usrp2_iface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp
index c1e92e7d4..64a1a7474 100644
--- a/host/lib/usrp/usrp2/usrp2_iface.cpp
+++ b/host/lib/usrp/usrp2/usrp2_iface.cpp
@@ -44,7 +44,7 @@ static const boost::uint32_t MIN_PROTO_COMPAT_SPI = 7;
static const boost::uint32_t MIN_PROTO_COMPAT_I2C = 7;
// The register compat number must reflect the protocol compatibility
// and the compatibility of the register mapping (more likely to change).
-static const boost::uint32_t MIN_PROTO_COMPAT_REG = USRP2_FW_COMPAT_NUM;
+static const boost::uint32_t MIN_PROTO_COMPAT_REG = 10;
static const boost::uint32_t MIN_PROTO_COMPAT_UART = 7;
//Define get_gpid() to get a globally unique identifier for this process.