From 0811fbed937c1ed679c514929728a992b46738a6 Mon Sep 17 00:00:00 2001 From: Derek Kozel Date: Mon, 4 Apr 2016 17:53:52 -0700 Subject: Added option for writes to specify a SPI speed --- host/lib/types/serial.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/lib/types') 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( -- cgit v1.2.3