diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-02 20:42:39 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-02 20:42:39 +0100 |
commit | 6944437bf492d46f8c39b4dadcd0ff55b7581eda (patch) | |
tree | 3a40dcdf690d36e8bd030327343c54fddde62cfb /src/target/firmware/board/common | |
parent | d43fadf410e66934ce266cd1a5f96b89d56a9e90 (diff) |
Introduce CONFIG_TX_ENABLE and disable Tx support by default
Tx support is considered experimental and potentially dangerous.
Thus, the default build of the firmware does not have Tx support
enabled.
If you want Tx support, compile with -DCONFIG_TX_ENABLE by uncommenting
the apropriate line in Makefile.inc
Diffstat (limited to 'src/target/firmware/board/common')
-rw-r--r-- | src/target/firmware/board/common/rffe_compal_dualband.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/firmware/board/common/rffe_compal_dualband.c b/src/target/firmware/board/common/rffe_compal_dualband.c index ddf7f933..0c1b20f4 100644 --- a/src/target/firmware/board/common/rffe_compal_dualband.c +++ b/src/target/firmware/board/common/rffe_compal_dualband.c @@ -26,6 +26,7 @@ void rffe_mode(enum gsm_band band, int tx) tspact &= ~PA_ENABLE; tspact |= TRENA | GSM_TXEN; /* low-active */ +#ifdef CONFIG_TX_ENABLE /* Then we selectively set the bits on, if required */ if (tx) { tspact &= ~TRENA; @@ -33,6 +34,7 @@ void rffe_mode(enum gsm_band band, int tx) tspact &= ~GSM_TXEN; tspact |= PA_ENABLE; /* Dieter: TODO */ } +#endif /* TRANSMIT_SUPPORT */ tsp_act_update(tspact); } |