diff --git a/firmware/application/radio.cpp b/firmware/application/radio.cpp index 88ef4a21..b61ce022 100644 --- a/firmware/application/radio.cpp +++ b/firmware/application/radio.cpp @@ -146,6 +146,10 @@ void set_vga_gain(const int_fast8_t db) { second_if.set_vga_gain(db); } +void set_tx_gain(const int_fast8_t db) { + second_if.set_tx_vga_gain(db); +} + void set_baseband_filter_bandwidth(const uint32_t bandwidth_minimum) { second_if.set_lpf_rf_bandwidth(bandwidth_minimum); } diff --git a/firmware/application/radio.hpp b/firmware/application/radio.hpp index 4c1faa78..6d22acf3 100644 --- a/firmware/application/radio.hpp +++ b/firmware/application/radio.hpp @@ -47,6 +47,7 @@ bool set_tuning_frequency(const rf::Frequency frequency); void set_rf_amp(const bool rf_amp); void set_lna_gain(const int_fast8_t db); void set_vga_gain(const int_fast8_t db); +void set_tx_gain(const int_fast8_t db); void set_baseband_filter_bandwidth(const uint32_t bandwidth_minimum); void set_baseband_rate(const uint32_t rate); void set_baseband_decimation_by(const size_t n);