mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2025-01-29 13:36:33 -05:00
If button is down, load defaults and go from there
This commit is contained in:
parent
bc83bcd5d1
commit
e1d0ee1c43
@ -473,12 +473,13 @@ void setup()
|
||||
|
||||
//Run initial calibration routine if button is pressed during power up
|
||||
if(btnDown()){
|
||||
LoadDefaultSettings();
|
||||
setupTouch();
|
||||
SetActiveVfoMode(VfoMode_e::VFO_MODE_USB);
|
||||
setFrequency(10000000l);
|
||||
setFrequency(10000000L);
|
||||
setupFreq();
|
||||
SetActiveVfoMode(VfoMode_e::VFO_MODE_LSB);
|
||||
setFrequency(7100000l);
|
||||
setFrequency(7100000L);
|
||||
setupBFO();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user