mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Restored radio.cpp
This commit is contained in:
parent
94eea961b5
commit
8833b2fce5
@ -157,14 +157,13 @@ bool set_tuning_frequency(const rf::Frequency frequency) {
|
|||||||
|
|
||||||
void set_rf_amp(const bool rf_amp) {
|
void set_rf_amp(const bool rf_amp) {
|
||||||
rf_path.set_rf_amp(rf_amp);
|
rf_path.set_rf_amp(rf_amp);
|
||||||
/*
|
|
||||||
if (direction == rf::Direction::Transmit) {
|
if (direction == rf::Direction::Transmit) {
|
||||||
if (rf_amp)
|
if (rf_amp)
|
||||||
led_tx.on();
|
led_tx.on();
|
||||||
else
|
else
|
||||||
led_tx.off();
|
led_tx.off();
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_lna_gain(const int_fast8_t db) {
|
void set_lna_gain(const int_fast8_t db) {
|
||||||
|
Loading…
Reference in New Issue
Block a user