aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_spi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/e300/e300_spi.cpp')
-rw-r--r--host/lib/usrp/e300/e300_spi.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/e300/e300_spi.cpp b/host/lib/usrp/e300/e300_spi.cpp
index 2722d7f53..74d348555 100644
--- a/host/lib/usrp/e300/e300_spi.cpp
+++ b/host/lib/usrp/e300/e300_spi.cpp
@@ -93,6 +93,8 @@ public:
tr.rx_buf = (unsigned long) &rx[0];
tr.len = num_bits >> 3;
tr.bits_per_word = _bits;
+ tr.tx_nbits = 1;
+ tr.rx_nbits = 1;
tr.speed_hz = _speed;
tr.delay_usecs = _delay;