fix(simulator): fixed LCD flush sync with QT simulator (#2030)
This commit is contained in:
@@ -132,8 +132,7 @@ void OpenTxSimulator::init()
|
||||
|
||||
void OpenTxSimulator::start(const char * filename, bool tests)
|
||||
{
|
||||
if (isRunning())
|
||||
return;
|
||||
if (isRunning()) return;
|
||||
ETXS_DBG << "file:" << filename << "tests:" << tests;
|
||||
|
||||
QMutexLocker lckr(&m_mtxSimuMain);
|
||||
@@ -375,6 +374,11 @@ void OpenTxSimulator::touchEvent(int type, int x, int y)
|
||||
#endif
|
||||
}
|
||||
|
||||
void OpenTxSimulator::lcdFlushed()
|
||||
{
|
||||
::lcdFlushed();
|
||||
}
|
||||
|
||||
void OpenTxSimulator::setTrainerTimeout(uint16_t ms)
|
||||
{
|
||||
ppmInputValidityTimer = ms;
|
||||
|
||||
Reference in New Issue
Block a user