summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-17 17:41:12 -0700
committerJosh Blum <josh@joshknows.com>2011-03-17 17:41:12 -0700
commitfb65f85e0f915b8587f218bde433210cc574b21f (patch)
treed2697143dc158bae126675e6e66d8c6104e39663 /host/include
parent843886694f847bb4ddfb838ca6e43094b51edec0 (diff)
downloaduhd-fb65f85e0f915b8587f218bde433210cc574b21f.tar.gz
uhd-fb65f85e0f915b8587f218bde433210cc574b21f.tar.bz2
uhd-fb65f85e0f915b8587f218bde433210cc574b21f.zip
uhd: whoops, spi convenience functions have 32 bit data
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/types/serial.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/types/serial.hpp b/host/include/uhd/types/serial.hpp
index 5c6de162b..ef6125933 100644
--- a/host/include/uhd/types/serial.hpp
+++ b/host/include/uhd/types/serial.hpp
@@ -151,7 +151,7 @@ namespace uhd{
virtual boost::uint32_t read_spi(
int which_slave,
const spi_config_t &config,
- boost::uint16_t data,
+ boost::uint32_t data,
size_t num_bits
);
@@ -165,7 +165,7 @@ namespace uhd{
virtual void write_spi(
int which_slave,
const spi_config_t &config,
- boost::uint16_t data,
+ boost::uint32_t data,
size_t num_bits
);
};