summaryrefslogtreecommitdiff
path: root/gr-usrp/src
diff options
context:
space:
mode:
authorjcorgan2008-01-21 22:35:45 +0000
committerjcorgan2008-01-21 22:35:45 +0000
commit61400405ef05a34f1dd34aaf23a2797a16e219bf (patch)
treee2faf2494d8ce0f7ba383517e3571eb49391bbf5 /gr-usrp/src
parentd830a4547256be3096db83118f6e9ffe299f8ecf (diff)
downloadgnuradio-61400405ef05a34f1dd34aaf23a2797a16e219bf.tar.gz
gnuradio-61400405ef05a34f1dd34aaf23a2797a16e219bf.tar.bz2
gnuradio-61400405ef05a34f1dd34aaf23a2797a16e219bf.zip
Trial fix for ticket:230
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7484 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-usrp/src')
-rw-r--r--gr-usrp/src/db_flexrf.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/gr-usrp/src/db_flexrf.py b/gr-usrp/src/db_flexrf.py
index bb2acbb64..b998e1088 100644
--- a/gr-usrp/src/db_flexrf.py
+++ b/gr-usrp/src/db_flexrf.py
@@ -552,15 +552,15 @@ class _400_common(_AD4360_common):
#------------------------------------------------------------
class db_flexrf_2400_tx(_2400_common, flexrf_base_tx):
def __init__(self, usrp, which):
- self.power_on = ~POWER_UP
- self.power_off = ~POWER_UP # powering it off kills the serial bus
+ self.power_on = 0
+ self.power_off = 0 # powering it off kills the serial bus
flexrf_base_tx.__init__(self, usrp, which)
_2400_common.__init__(self)
class db_flexrf_2400_rx(_2400_common, flexrf_base_rx):
def __init__(self, usrp, which):
- self.power_on = ~POWER_UP
- self.power_off = ~POWER_UP # Powering it off kills the serial bus
+ self.power_on = 0
+ self.power_off = 0 # Powering it off kills the serial bus
flexrf_base_rx.__init__(self, usrp, which)
_2400_common.__init__(self)
@@ -578,15 +578,15 @@ class db_flexrf_2400_rx(_2400_common, flexrf_base_rx):
class db_flexrf_1200_tx(_1200_common, flexrf_base_tx):
def __init__(self, usrp, which):
- self.power_on = ~POWER_UP
- self.power_off = ~POWER_UP # powering it off kills the serial bus
+ self.power_on = 0
+ self.power_off = 0 # powering it off kills the serial bus
flexrf_base_tx.__init__(self, usrp, which)
_1200_common.__init__(self)
class db_flexrf_1200_rx(_1200_common, flexrf_base_rx):
def __init__(self, usrp, which):
- self.power_on = ~POWER_UP
- self.power_off = ~POWER_UP # powering it off kills the serial bus
+ self.power_on = 0
+ self.power_off = 0 # powering it off kills the serial bus
flexrf_base_rx.__init__(self, usrp, which)
_1200_common.__init__(self)
@@ -604,15 +604,15 @@ class db_flexrf_1200_rx(_1200_common, flexrf_base_rx):
class db_flexrf_1800_tx(_1800_common, flexrf_base_tx):
def __init__(self, usrp, which):
- self.power_on = ~POWER_UP
- self.power_off = ~POWER_UP # powering it off kills the serial bus
+ self.power_on = 0
+ self.power_off = 0 # powering it off kills the serial bus
flexrf_base_tx.__init__(self, usrp, which)
_1800_common.__init__(self)
class db_flexrf_1800_rx(_1800_common, flexrf_base_rx):
def __init__(self, usrp, which):
- self.power_on = ~POWER_UP
- self.power_off = ~POWER_UP # powering it off kills the serial bus
+ self.power_on = 0
+ self.power_off = 0 # powering it off kills the serial bus
flexrf_base_rx.__init__(self, usrp, which)
_1800_common.__init__(self)
@@ -630,15 +630,15 @@ class db_flexrf_1800_rx(_1800_common, flexrf_base_rx):
class db_flexrf_900_tx(_900_common, flexrf_base_tx):
def __init__(self, usrp, which):
- self.power_on = ~POWER_UP
- self.power_off = ~POWER_UP # powering it off kills the serial bus
+ self.power_on = 0
+ self.power_off = 0 # powering it off kills the serial bus
flexrf_base_tx.__init__(self, usrp, which)
_900_common.__init__(self)
class db_flexrf_900_rx(_900_common, flexrf_base_rx):
def __init__(self, usrp, which):
- self.power_on = ~POWER_UP
- self.power_off = ~POWER_UP # powering it off kills the serial bus
+ self.power_on = 0
+ self.power_off = 0 # powering it off kills the serial bus
flexrf_base_rx.__init__(self, usrp, which)
_900_common.__init__(self)
@@ -657,14 +657,14 @@ class db_flexrf_900_rx(_900_common, flexrf_base_rx):
class db_flexrf_400_tx(_400_common, flexrf_base_tx):
def __init__(self, usrp, which):
self.power_on = POWER_UP
- self.power_off = ~POWER_UP
+ self.power_off = 0
flexrf_base_tx.__init__(self, usrp, which)
_400_common.__init__(self)
class db_flexrf_400_rx(_400_common, flexrf_base_rx):
def __init__(self, usrp, which):
self.power_on = POWER_UP
- self.power_off = ~POWER_UP
+ self.power_off = 0
flexrf_base_rx.__init__(self, usrp, which)
_400_common.__init__(self)