Remove repeated code in RF path Config.

This commit is contained in:
Jared Boone 2016-08-30 21:26:55 -07:00
parent f0c4b0fc98
commit 42a07bb10c

View File

@ -92,9 +92,9 @@ struct Config {
lp(band == Band::Low),
amp_bypass(!amplify),
tx_amp((direction == Direction::Transmit) && amplify),
not_tx_amp(!((direction == Direction::Transmit) && amplify)),
not_tx_amp(!tx_amp),
rx_amp((direction == Direction::Receive) && amplify),
not_rx_amp(!((direction == Direction::Receive) && amplify))
not_rx_amp(!rx_amp)
{
}