diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-07-19 14:24:46 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-07-19 14:24:46 +0200 |
commit | 7b89bb8a846f7a22a908d6be237b6e6dd042e282 (patch) | |
tree | dc37e26a38091ff47ca6d15ed44ab1b1c51172d4 /src/target/firmware/include/rf | |
parent | 7ea81070fae0a75ed7aba006948437da42201e28 (diff) |
[firmware] TRF6151: fix VGA gain calculation bug
We've had two sets of TRF6151 GAIN related #defines which were used
in an incorrect manner, resulting in a vga_gain of 60, which is
outside of the allowed gain range.
Thanks to Dieter Spaar for spotting this bug
Diffstat (limited to 'src/target/firmware/include/rf')
-rw-r--r-- | src/target/firmware/include/rf/trf6151.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/target/firmware/include/rf/trf6151.h b/src/target/firmware/include/rf/trf6151.h index c7951c0c..0e27abb9 100644 --- a/src/target/firmware/include/rf/trf6151.h +++ b/src/target/firmware/include/rf/trf6151.h @@ -3,13 +3,6 @@ #include <osmocore/gsm_utils.h> -/* minimum gain (FE = LOW, VGA at lowest setting */ -#define TRF6151_GAIN_MIN 14 -/* minimum gain (FE = HIGH, VGA at highest setting */ -#define TRF6151_GAIN_MAX 60 -/* Frontend gain if FE = HIGH */ -#define TRF6151_GAIN_FE 20 - /* initialize (reset + power up) */ void trf6151_init(void); |