aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types
diff options
context:
space:
mode:
authorDerek Kozel <derek.kozel@ettus.com>2016-04-04 17:53:52 -0700
committerMartin Braun <martin.braun@ettus.com>2016-04-08 16:50:54 -0700
commit0811fbed937c1ed679c514929728a992b46738a6 (patch)
tree6c2b8cf62c53169d2e7fa47c661b101bb74d2d32 /host/lib/types
parent088b852844692e9d366e3e44336883adf0305623 (diff)
downloaduhd-0811fbed937c1ed679c514929728a992b46738a6.tar.gz
uhd-0811fbed937c1ed679c514929728a992b46738a6.tar.bz2
uhd-0811fbed937c1ed679c514929728a992b46738a6.zip
Added option for writes to specify a SPI speed
Diffstat (limited to 'host/lib/types')
-rw-r--r--host/lib/types/serial.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/types/serial.cpp b/host/lib/types/serial.cpp
index 9b8336dd8..52961691c 100644
--- a/host/lib/types/serial.cpp
+++ b/host/lib/types/serial.cpp
@@ -40,7 +40,8 @@ spi_config_t::spi_config_t(edge_t edge):
mosi_edge(edge),
miso_edge(edge)
{
- /* NOP */
+ // By default don't use a custom clock speed for the transaction
+ use_custom_divider = false;
}
void i2c_iface::write_eeprom(