mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-23 16:25:12 +03:00
Directories FatFS / CoOS / STM32 libs moved to thirdparty
This commit is contained in:
parent
318fc79dfe
commit
2817866ad2
456 changed files with 1154 additions and 2580 deletions
|
@ -1615,3 +1615,13 @@ void Firmware::addOptions(Option options[])
|
|||
}
|
||||
this->opts.push_back(opts);
|
||||
}
|
||||
|
||||
SimulatorInterface *GetCurrentFirmwareSimulator()
|
||||
{
|
||||
QString firmwareId = GetCurrentFirmware()->getId();
|
||||
SimulatorFactory *factory = getSimulatorFactory(firmwareId);
|
||||
if (factory)
|
||||
return factory->create();
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue