mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
decouple RST settings from startup settings
This commit is contained in:
parent
77efc4d924
commit
5692356e90
9 changed files with 60 additions and 9 deletions
|
|
@ -46,6 +46,13 @@ void Generator::initializeDevice()
|
|||
updateDevice();
|
||||
}
|
||||
|
||||
void Generator::resetSettings()
|
||||
{
|
||||
central->setFrequency(1000000000);
|
||||
central->setLevel(0);
|
||||
central->setPort(0);
|
||||
}
|
||||
|
||||
nlohmann::json Generator::toJSON()
|
||||
{
|
||||
return central->toJSON();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue