diff options
author | Josh Blum <josh@joshknows.com> | 2011-04-26 14:18:02 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-04-26 14:18:02 -0700 |
commit | 7c70958c388ec404458f9fc270b877886ad60994 (patch) | |
tree | 9558f47c27cd57cd93fde004528b13765e97d9f5 | |
parent | 4335003e2e7d704f5f1d229b6a08cdb97088f785 (diff) | |
download | uhd-7c70958c388ec404458f9fc270b877886ad60994.tar.gz uhd-7c70958c388ec404458f9fc270b877886ad60994.tar.bz2 uhd-7c70958c388ec404458f9fc270b877886ad60994.zip |
xcvr2450: initialize the max_power variable
-rw-r--r-- | host/lib/usrp/dboard/db_xcvr2450.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_xcvr2450.cpp b/host/lib/usrp/dboard/db_xcvr2450.cpp index 70b0bbabd..45f600569 100644 --- a/host/lib/usrp/dboard/db_xcvr2450.cpp +++ b/host/lib/usrp/dboard/db_xcvr2450.cpp @@ -153,7 +153,7 @@ private: */ double get_rssi(void){ //*FIXME* RSSI depends on LNA Gain Setting (datasheet pg 16 top middle chart) - double max_power; + double max_power = 0.0; switch(_max2829_regs.rx_lna_gain){ case 0: case 1: max_power = 0; break; |