summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-17 17:33:26 -0800
committerJosh Blum <josh@joshknows.com>2010-02-17 17:33:26 -0800
commitb9497ba5b8ff66856e13100160275ddc4a884db0 (patch)
tree03790382c28bdff95671f4a3550be3d05521fdb5 /host/include
parent4fb4572e1a16f54439f57655f90e0fc937c57c1e (diff)
downloaduhd-b9497ba5b8ff66856e13100160275ddc4a884db0.tar.gz
uhd-b9497ba5b8ff66856e13100160275ddc4a884db0.tar.bz2
uhd-b9497ba5b8ff66856e13100160275ddc4a884db0.zip
Added i2c control transactions in fw and host
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/dboard/interface.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/usrp/dboard/interface.hpp b/host/include/uhd/usrp/dboard/interface.hpp
index e066f2061..495304338 100644
--- a/host/include/uhd/usrp/dboard/interface.hpp
+++ b/host/include/uhd/usrp/dboard/interface.hpp
@@ -126,10 +126,10 @@ public:
/*!
* \brief Read from I2C peripheral
* \param i2c_addr I2C bus address (7-bits)
- * \param len number of bytes to read
+ * \param num_bytes number of bytes to read
* \return the data read if successful, else a zero length string.
*/
- virtual byte_vector_t read_i2c(int i2c_addr, size_t len) = 0;
+ virtual byte_vector_t read_i2c(int i2c_addr, size_t num_bytes) = 0;
/*!
* \brief Write data to SPI bus peripheral.