User Tools

Site Tools


common_code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
common_code [2015/08/17 15:37] – [Accel Variable] hakcentercommon_code [2015/10/22 12:19] – [Performance] hakcenter
Line 186: Line 186:
 Performance mode sets vane position to current curve position + the position from JP1. Performance mode sets vane position to current curve position + the position from JP1.
 <code> <code>
-    } //END id !brake_mode && !cruise_mode 
     // -- PERFORMANCE MODE -- //     // -- PERFORMANCE MODE -- //
-         if (performance_mode && vane_position <= 800 && turbo_rpm < top_end_rpm) { vane_position = 800; } +    if (performance_mode && turbo_rpm < top_end_rpm) { vane_position = vane_position + performance_position; }
-    else if (performance_mode && turbo_rpm < top_end_rpm) { vane_position = vane_position + performance_position; }+
 </code> </code>
-  * When calculated vane position + performance is not at least 800, vane position is set to 800. +  * Calculated vane position is **<fc #6495ed>vane_position</fc> + <fc #6495ed>performance_position</fc>**
-    * Otherwise calculated vane position is **<fc #6495ed>vane_position</fc> + <fc #6495ed>performance_position</fc>**+
  
 ---- ----
common_code.txt · Last modified: 2015/10/30 12:54 by hakcenter