decouple RST settings from startup settings

This commit is contained in:
Jan Käberich 2024-05-01 13:33:18 +02:00
parent 77efc4d924
commit 5692356e90
9 changed files with 60 additions and 9 deletions

View file

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