Add audio feedback for when entering/exiting bands

This commit is contained in:
Reed Nightingale 2020-02-11 23:36:43 -08:00
parent 5721e06a51
commit 423246f2b8

View File

@ -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());
}
}
}