aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-02-09 12:14:42 -0800
committerJosh Blum <josh@joshknows.com>2011-02-09 12:14:42 -0800
commitaae5cc481ba7bb75c8d97d8f425bc42884e28538 (patch)
tree9ea3f4112eb3c4429d31759f2546191a7a17449a /host/lib/usrp/usrp2
parentef351624eeb898e17662000a40b50076133118c7 (diff)
downloaduhd-aae5cc481ba7bb75c8d97d8f425bc42884e28538.tar.gz
uhd-aae5cc481ba7bb75c8d97d8f425bc42884e28538.tar.bz2
uhd-aae5cc481ba7bb75c8d97d8f425bc42884e28538.zip
usrp2: initialize _ctrl_seq_num to remove many valgrind warnings
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/usrp2_iface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_iface.cpp b/host/lib/usrp/usrp2/usrp2_iface.cpp
index 149c5011f..4407a3011 100644
--- a/host/lib/usrp/usrp2/usrp2_iface.cpp
+++ b/host/lib/usrp/usrp2/usrp2_iface.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010 Ettus Research LLC
+// Copyright 2010-2011 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -42,6 +42,7 @@ public:
**********************************************************************/
usrp2_iface_impl(udp_simple::sptr ctrl_transport){
_ctrl_transport = ctrl_transport;
+ _ctrl_seq_num = 0;
mb_eeprom = mboard_eeprom_t(*this, mboard_eeprom_t::MAP_N100);
switch(this->get_rev()){