aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/usrp1/usrp1_iface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_iface.cpp b/host/lib/usrp/usrp1/usrp1_iface.cpp
index d228161f1..e52f3d952 100644
--- a/host/lib/usrp/usrp1/usrp1_iface.cpp
+++ b/host/lib/usrp/usrp1/usrp1_iface.cpp
@@ -165,7 +165,7 @@ public:
size_t num_bits,
bool readback)
{
- UHD_ASSERT_THROW((num_bits < 32) && !(num_bits % 8));
+ UHD_ASSERT_THROW((num_bits <= 32) && !(num_bits % 8));
size_t num_bytes = num_bits / 8;
// Byteswap on num_bytes