diff --git a/firmware/application/ui/ui_rssi.cpp b/firmware/application/ui/ui_rssi.cpp index 84487b16..d99795ec 100644 --- a/firmware/application/ui/ui_rssi.cpp +++ b/firmware/application/ui/ui_rssi.cpp @@ -80,6 +80,21 @@ void RSSI::paint(Painter& painter) { } } +int32_t RSSI::get_min() +{ + return min_ ; +} + +int32_t RSSI::get_avg() +{ + return avg_ ; +} + +int32_t RSSI::get_max() +{ + return max_ ; +} + void RSSI::set_pitch_rssi(bool enabled) { pitch_rssi_enabled = enabled; if (!enabled) baseband::set_pitch_rssi(0, false); diff --git a/firmware/application/ui/ui_rssi.hpp b/firmware/application/ui/ui_rssi.hpp index e22a61af..f792e793 100644 --- a/firmware/application/ui/ui_rssi.hpp +++ b/firmware/application/ui/ui_rssi.hpp @@ -46,6 +46,9 @@ public: } void paint(Painter& painter) override; + int32_t get_min(); + int32_t get_avg(); + int32_t get_max(); private: int32_t min_;