mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-18 23:15:59 -05:00
Set global setting so that setFrequency will work correctly
This commit is contained in:
parent
6d5fb97c62
commit
dd3a6162af
@ -199,8 +199,9 @@ void ssBfoValidate(const long int candidate_value_in, long int* validated_value_
|
|||||||
}
|
}
|
||||||
void ssBfoChange(const long int new_value, char* buff_out, const size_t buff_out_size)
|
void ssBfoChange(const long int new_value, char* buff_out, const size_t buff_out_size)
|
||||||
{
|
{
|
||||||
si5351bx_setfreq(0, new_value);
|
globalSettings.usbCarrierFreq = new_value;
|
||||||
setFrequency(GetActiveVfoFreq());
|
setFrequency(GetActiveVfoFreq());
|
||||||
|
si5351bx_setfreq(0, new_value);
|
||||||
formatFreq(new_value,buff_out,buff_out_size);
|
formatFreq(new_value,buff_out,buff_out_size);
|
||||||
strncat_P(buff_out,(const char*)F("Hz"),buff_out_size - strlen(buff_out));
|
strncat_P(buff_out,(const char*)F("Hz"),buff_out_size - strlen(buff_out));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user