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();
|
||||
interrupt10ms();
|
||||
#endif
|
||||
static int timeToRefresh;
|
||||
if (++timeToRefresh >= 5) {
|
||||
timeToRefresh = 0;
|
||||
refreshDisplay();
|
||||
}
|
||||
refreshDisplay();
|
||||
getApp()->addTimeout(this, 2, 10);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user