refactoring: extract constant
This commit is contained in:
parent
db74c8723a
commit
811cc4eee7
|
@ -1695,19 +1695,21 @@ cyl_trim_s[12 iterate] fuelTrims
|
|||
|
||||
uint16_t[CRANKING_CURVE_SIZE] autoscale crankingFuelCoefE100;;"ratio", 0.01, 0, 0, 50, 2
|
||||
|
||||
uint8_t[8] tcu_pcAirmassBins;;"Airmass", 0.02, 0, 0, 255, 2
|
||||
uint8_t[8] tcu_pcValsR;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcValsN;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals1;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals2;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals3;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals4;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals12;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals23;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals34;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals21;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals32;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_pcVals43;;"%", 1, 0, 0, 255, 0
|
||||
#define TCU_MAGIC_SIZE 8
|
||||
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcAirmassBins;;"Airmass", 0.02, 0, 0, 255, 2
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcValsR;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcValsN;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals1;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals2;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals3;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals4;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals12;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals23;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals34;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals21;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals32;;"%", 1, 0, 0, 255, 0
|
||||
uint8_t[TCU_MAGIC_SIZE] tcu_pcVals43;;"%", 1, 0, 0, 255, 0
|
||||
|
||||
uint8_t[8] tcu_tccTpsBins;;"TPS", 1, 0, 0, 255, 0
|
||||
uint8_t[8] tcu_tccLockSpeed;;"MPH", 1, 0, 0, 255, 0
|
||||
|
|
Loading…
Reference in New Issue