mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Remove repeated code in RF path Config.
This commit is contained in:
parent
f0c4b0fc98
commit
42a07bb10c
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user