2014-01-07 00:02:00 -08:00
|
|
|
/*
|
|
|
|
All functions in the gamma file return
|
|
|
|
|
|
|
|
*/
|
2015-02-14 05:11:43 -08:00
|
|
|
#ifndef CORRECTIONS_H
|
|
|
|
#define CORRECTIONS_H
|
|
|
|
|
2016-10-25 07:04:37 -07:00
|
|
|
void initialiseCorrections();
|
|
|
|
|
2016-12-11 03:51:04 -08:00
|
|
|
byte correctionsFuel();
|
|
|
|
static inline byte correctionWUE(); //Warmup enrichment
|
2017-01-17 22:37:55 -08:00
|
|
|
static inline byte correctionCranking(); //Cranking enrichment
|
2016-12-11 03:51:04 -08:00
|
|
|
static inline byte correctionASE(); //After Start Enrichment
|
|
|
|
static inline byte correctionAccel(); //Acceleration Enrichment
|
2017-01-10 23:30:46 -08:00
|
|
|
static inline byte correctionFloodClear(); //Check for flood clear on cranking
|
|
|
|
static inline byte correctionAFRClosedLoop(); //Closed loop AFR adjustment
|
|
|
|
static inline byte correctionFlex(); //Flex fuel adjustment
|
|
|
|
static inline byte correctionBatVoltage(); //Battery voltage correction
|
|
|
|
static inline byte correctionIATDensity(); //Inlet temp density correction
|
|
|
|
static inline byte correctionLaunch(); //Launch control correction
|
|
|
|
static inline bool correctionDFCO(); //Decelleration fuel cutoff
|
2016-12-11 03:51:04 -08:00
|
|
|
|
|
|
|
byte correctionsIgn();
|
2017-01-20 17:58:45 -08:00
|
|
|
static inline int8_t correctionFixedTiming(int8_t);
|
|
|
|
static inline int8_t correctionCrankingFixedTiming(int8_t);
|
|
|
|
static inline int8_t correctionFlexTiming(int8_t);
|
|
|
|
static inline int8_t correctionIATretard(int8_t);
|
|
|
|
static inline int8_t correctionSoftRevLimit(int8_t);
|
|
|
|
static inline int8_t correctionSoftLaunch(int8_t);
|
|
|
|
static inline int8_t correctionSoftFlatShift(int8_t);
|
2016-12-11 03:51:04 -08:00
|
|
|
|
2015-02-14 05:11:43 -08:00
|
|
|
|
|
|
|
#endif // CORRECTIONS_H
|