34 lines
507 B
C++
34 lines
507 B
C++
|
|
|
|
byte correctionsTotal()
|
|
{
|
|
int sumCorrections = (correctionWUE() * correctionASE()) / 100;
|
|
sumCorrections = (sumCorrections * correctionAccel()) / 100;
|
|
return sumCorrections;
|
|
}
|
|
|
|
byte correctionWUE()
|
|
{
|
|
|
|
}
|
|
|
|
byte correctionASE()
|
|
{
|
|
|
|
if (currentStatus.runSecs < configPage1.aseCount)
|
|
{
|
|
BIT_SET(currentStatus.engine,3); //Mark ASE as active.
|
|
return configPage1.asePct;
|
|
} else
|
|
{
|
|
BIT_CLEAR(currentStatus.engine,3); //Mark ASE as inactive.
|
|
}
|
|
|
|
|
|
}
|
|
|
|
byte correctionAccel()
|
|
{
|
|
|
|
}
|