From 36365930a6035e18dc3ec07d401d73e7730af8cf Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 19 Apr 2017 18:55:16 -0700 Subject: mpm: Fixed a plethora of SPI-related issues --- mpm/lib/lmk04828/lmk04828_spi_iface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/lib/lmk04828') diff --git a/mpm/lib/lmk04828/lmk04828_spi_iface.cpp b/mpm/lib/lmk04828/lmk04828_spi_iface.cpp index d0ae26063..1251f4535 100644 --- a/mpm/lib/lmk04828/lmk04828_spi_iface.cpp +++ b/mpm/lib/lmk04828/lmk04828_spi_iface.cpp @@ -30,7 +30,7 @@ uint8_t lmk04828_spi_iface::spi_read(uint32_t addr) { // r/w[23] 0[22:21] addr[20:8] data[7:0] = 24 bits uint32_t transaction = 0; transaction |= LMK_SPI_READ_FLAG << LMK_SPI_READ_FLAG_OFFSET; - transaction &= LMK_SPI_RESERVED_FIELD_MASK; + //transaction &= LMK_SPI_RESERVED_FIELD_MASK; transaction |= addr << LMK_SPI_READ_ADDR_OFFSET; uint32_t data = _spi_iface->read_spi(DEFAULT_SLAVE, config, transaction, LMK_SPI_NUM_BITS); -- cgit v1.2.3