mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 19:40:20 +03:00
Projectkk2glider/simu tmp sd path (#4231)
* Re #4224: Introduced settingsPath and use std::string for paths in simpgmspace. * Re #4224: Relevant parts of simpgmspace.cpp moved into simufatfs.cpp and simudisk.cpp * Removed "/" from "mask_monitor_logsw.png" * Re #4224: findTrueFileName() refactoring * Faster gtests (less waiting for eeprom operations to finish) * Re #4224: Radio settings and models directories now taken from alternate path (if set) [simu] * Fixes #3322: together with previous changes to the SD browser this prevents the simulator from browsing higher than SD card root path. * f_chdir() debug traces
This commit is contained in:
parent
bedaa505a2
commit
f7543e3220
12 changed files with 840 additions and 706 deletions
|
@ -131,7 +131,9 @@ Open9xSim::~Open9xSim()
|
|||
{
|
||||
StopSimu();
|
||||
StopAudioThread();
|
||||
#if defined(EEPROM)
|
||||
StopEepromThread();
|
||||
#endif
|
||||
|
||||
delete bmp;
|
||||
delete sliders[0];
|
||||
|
@ -548,9 +550,11 @@ int main(int argc,char **argv)
|
|||
|
||||
simuInit();
|
||||
|
||||
#if defined(EEPROM)
|
||||
StartEepromThread(argc >= 2 ? argv[1] : "eeprom.bin");
|
||||
#endif
|
||||
StartAudioThread();
|
||||
StartSimu();
|
||||
StartSimu(false, argc >= 3 ? argv[2] : 0, argc >= 4 ? argv[3] : 0);
|
||||
|
||||
return application.run();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue