[us-commits] r2767 - trunk/utils

svn at svn.aucsolutions.com svn at svn.aucsolutions.com
Fri May 17 11:01:59 MDT 2019


Author: gegorbet
Date: 2019-05-17 17:01:58 +0000 (Fri, 17 May 2019)
New Revision: 2767

Modified:
   trunk/utils/us_simparms.cpp
Log:
temporary fix for pseudo speed step constant zone with set speed < 1500 rpm

Modified: trunk/utils/us_simparms.cpp
===================================================================
--- trunk/utils/us_simparms.cpp	2019-05-17 05:39:46 UTC (rev 2766)
+++ trunk/utils/us_simparms.cpp	2019-05-17 17:01:58 UTC (rev 2767)
@@ -1206,8 +1206,9 @@
             (int)qRound( tsobj->time_dvalue( "SetSpeed" ) ) :
                          tsobj->time_ivalue( "SetSpeed" );  // Current set speed
 
-      if ( ss3 == ss2  &&  ss2 == ss1  &&  ss3 > 0 )
+      //if ( ss3 == ss2  &&  ss2 == ss1  &&  ss3 > 0 )
       //if ( ss3 == ss2  &&  ss2 == ss1  &&  ss3 > 3500 )
+      if ( ss3 == ss2  &&  ss2 == ss1  &&  ss3 > 1500 )
       { // This non-zero set-speed and both previous are the same
          if ( ! cspeeds.contains( ss3 ) )
             cspeeds << ss3;                // Save it if first time encountered



More information about the us-commits mailing list