diff options
author | Josh Blum <josh@joshknows.com> | 2011-08-28 03:33:49 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-08-31 18:44:34 -0700 |
commit | bbeb2189d587c0edc12873a1b5940ee0030148db (patch) | |
tree | 09fc0d2a6723d6554893b1ed2cbdb52f0f4748c6 /host/usrp_e_utils/common.hpp | |
parent | 26bfe6d54a4ecd82f4efcf6cc1c6f69d216adb1c (diff) | |
download | uhd-bbeb2189d587c0edc12873a1b5940ee0030148db.tar.gz uhd-bbeb2189d587c0edc12873a1b5940ee0030148db.tar.bz2 uhd-bbeb2189d587c0edc12873a1b5940ee0030148db.zip |
e100: reimplemented loopback for easy regression testing
Diffstat (limited to 'host/usrp_e_utils/common.hpp')
-rw-r--r-- | host/usrp_e_utils/common.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/usrp_e_utils/common.hpp b/host/usrp_e_utils/common.hpp index 1fc9a1f7b..989aecd06 100644 --- a/host/usrp_e_utils/common.hpp +++ b/host/usrp_e_utils/common.hpp @@ -23,7 +23,7 @@ static int fp; -static int peek16(int reg){ +static inline int peek16(int reg){ int ret; struct usrp_e_ctl16 d; @@ -33,7 +33,7 @@ static int peek16(int reg){ return d.buf[0]; } -static void poke16(int reg, int val){ +static inline void poke16(int reg, int val){ int ret; struct usrp_e_ctl16 d; @@ -43,7 +43,7 @@ static void poke16(int reg, int val){ ret = ioctl(fp, USRP_E_WRITE_CTL16, &d); } -static int peek32(int reg){ +static inline int peek32(int reg){ int ret; struct usrp_e_ctl32 d; @@ -53,7 +53,7 @@ static int peek32(int reg){ return d.buf[0]; } -static void poke32(int reg, int val){ +static inline void poke32(int reg, int val){ int ret; struct usrp_e_ctl32 d; |