mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2025-02-21 06:57:27 -05:00
Add audio feedback for when entering/exiting bands
This commit is contained in:
parent
5721e06a51
commit
423246f2b8
@ -7,6 +7,7 @@
|
||||
#include "bands.h"
|
||||
#include "button.h"
|
||||
#include "color_theme.h"
|
||||
#include "morse.h"
|
||||
#include "nano_gui.h"
|
||||
#include "settings.h"
|
||||
#include "ubitx.h"//setFrequency, b
|
||||
@ -307,6 +308,7 @@ void updateBandButtons(const uint32_t old_freq)
|
||||
if(isFreqInBand(old_freq,bands[i]) != isFreqInBand(curr_freq,bands[i])){
|
||||
memcpy_P(&button,band_buttons[i],sizeof(button));
|
||||
drawButton(&button);
|
||||
morseBool(ButtonStatus_e::Active == button.status());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user