Speed up simu display
This commit is contained in:
committed by
Raphael Coeffic
parent
ab76639301
commit
6aaae6d6be
+1
-5
@@ -495,11 +495,7 @@ long OpenTxSim::onTimeout(FXObject*, FXSelector, void*)
|
|||||||
void interrupt10ms();
|
void interrupt10ms();
|
||||||
interrupt10ms();
|
interrupt10ms();
|
||||||
#endif
|
#endif
|
||||||
static int timeToRefresh;
|
refreshDisplay();
|
||||||
if (++timeToRefresh >= 5) {
|
|
||||||
timeToRefresh = 0;
|
|
||||||
refreshDisplay();
|
|
||||||
}
|
|
||||||
getApp()->addTimeout(this, 2, 10);
|
getApp()->addTimeout(this, 2, 10);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user