mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 07:23:43 +00:00
WIP: working compound driver, partial SSA3000X as a demonstration
This commit is contained in:
parent
89e46057a5
commit
b701479e87
28 changed files with 3418 additions and 1971 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#include "generator.h"
|
||||
|
||||
#include "CustomWidgets/informationbox.h"
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
Generator::Generator(AppWindow *window, QString name)
|
||||
|
|
@ -37,6 +39,10 @@ void Generator::deactivate()
|
|||
|
||||
void Generator::initializeDevice()
|
||||
{
|
||||
if(!window->getDevice()->supports(DeviceDriver::Feature::Generator)) {
|
||||
InformationBox::ShowError("Unsupported", "The connected device does not support generator mode");
|
||||
return;
|
||||
}
|
||||
updateDevice();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue