aboutsummaryrefslogtreecommitdiffstats
path: root/host/usrp_e_utils
diff options
context:
space:
mode:
Diffstat (limited to 'host/usrp_e_utils')
-rw-r--r--host/usrp_e_utils/usrp-e-wb-test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/host/usrp_e_utils/usrp-e-wb-test.cpp b/host/usrp_e_utils/usrp-e-wb-test.cpp
index efd9312c1..eab4caede 100644
--- a/host/usrp_e_utils/usrp-e-wb-test.cpp
+++ b/host/usrp_e_utils/usrp-e-wb-test.cpp
@@ -88,20 +88,20 @@ int main(int, char *[]){
//make random values
int random_test32 = ::random();
int random_test16 = ::random() & 0xffff;
- int random_secs = ::random();
+ //int random_secs = ::random();
//set a bunch of registers
poke16(E100_REG_MISC_TEST, random_test16);
poke32(E100_REG_SR_MISC_TEST32, random_test32);
- poke32(E100_REG_TIME64_TICKS, 0);
- poke32(E100_REG_TIME64_IMM, 1); //immediate
- poke32(E100_REG_TIME64_SECS, random_secs);
+ //poke32(E100_REG_TIME64_TICKS, 0);
+ //poke32(E100_REG_TIME64_IMM, 1); //immediate
+ //poke32(E100_REG_TIME64_SECS, random_secs);
//read a bunch of registers
if (
(peek16(E100_REG_MISC_TEST) == random_test16) and
(peek32(E100_REG_RB_MISC_TEST32) == random_test32) and
- (peek32(E100_REG_RB_TIME_NOW_SECS) == random_secs) and
+// (peek32(E100_REG_RB_TIME_NOW_SECS) == random_secs) and
// (peek32(E100_REG_RB_TIME_NOW_TICKS) < 1000000) and
true) num_pass++;
else num_fail++;