mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-06-10 01:08:35 +00: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),
|
lp(band == Band::Low),
|
||||||
amp_bypass(!amplify),
|
amp_bypass(!amplify),
|
||||||
tx_amp((direction == Direction::Transmit) && 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),
|
rx_amp((direction == Direction::Receive) && amplify),
|
||||||
not_rx_amp(!((direction == Direction::Receive) && amplify))
|
not_rx_amp(!rx_amp)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user