Looking glass beep (#2036)

* first draft of looking beep
* fixed beep squelch range in percent
* took out steps 
* gui adjustements
* uniformize calculation and beep squelch in db
* uniformisation, fix 24/48 error
This commit is contained in:
gullradriel 2024-03-24 22:32:13 +01:00 committed by GitHub
parent 6177b08632
commit c078bac0e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 121 additions and 12 deletions

View file

@ -56,6 +56,7 @@ class LevelView : public View {
RxRadioState radio_state_{};
int32_t map(int32_t value, int32_t fromLow, int32_t fromHigh, int32_t toLow, int32_t toHigh);
size_t change_mode(freqman_index_t mod_type);
void on_statistics_update(const ChannelStatistics& statistics);
void set_display_freq(int64_t freq);
@ -128,7 +129,7 @@ class LevelView : public View {
NumberField field_beep_squelch{
{25 * 8, 3 * 16 + 4},
4,
{-120, 12},
{-100, 20},
1,
' ',
};