Fix corrections unit test
This commit is contained in:
parent
f155e692f2
commit
d77b3059bc
|
@ -39,10 +39,10 @@ int8_t correctionKnock(int8_t);
|
|||
|
||||
uint16_t correctionsDwell(uint16_t dwell);
|
||||
|
||||
int MAP_rateOfChange;
|
||||
int TPS_rateOfChange;
|
||||
byte activateMAPDOT; //The mapDOT value seen when the MAE was activated.
|
||||
byte activateTPSDOT; //The tpsDOT value seen when the MAE was activated.
|
||||
extern int MAP_rateOfChange;
|
||||
extern int TPS_rateOfChange;
|
||||
extern byte activateMAPDOT; //The mapDOT value seen when the MAE was activated.
|
||||
extern byte activateTPSDOT; //The tpsDOT value seen when the MAE was activated.
|
||||
|
||||
extern uint16_t AFRnextCycle;
|
||||
extern unsigned long knockStartTime;
|
||||
|
|
|
@ -24,6 +24,11 @@ Flood clear mode etc.
|
|||
long PID_O2, PID_output, PID_AFRTarget;
|
||||
PID egoPID(&PID_O2, &PID_output, &PID_AFRTarget, configPage6.egoKP, configPage6.egoKI, configPage6.egoKD, REVERSE); //This is the PID object if that algorithm is used. Needs to be global as it maintains state outside of each function call
|
||||
|
||||
int MAP_rateOfChange;
|
||||
int TPS_rateOfChange;
|
||||
byte activateMAPDOT; //The mapDOT value seen when the MAE was activated.
|
||||
byte activateTPSDOT; //The tpsDOT value seen when the MAE was activated.
|
||||
|
||||
uint16_t AFRnextCycle;
|
||||
unsigned long knockStartTime;
|
||||
byte lastKnockCount;
|
||||
|
|
Loading…
Reference in New Issue