From b9497ba5b8ff66856e13100160275ddc4a884db0 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 17 Feb 2010 17:33:26 -0800 Subject: Added i2c control transactions in fw and host --- host/include/uhd/usrp/dboard/interface.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/include') 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. -- cgit v1.2.3