1
0
Fork 0
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:
bsongis 2015-03-14 11:56:24 +01:00
parent 318fc79dfe
commit 2817866ad2
456 changed files with 1154 additions and 2580 deletions

View file

@ -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;
}