auto-sync
This commit is contained in:
parent
f8f5ce4a08
commit
b39171aaea
|
@ -683,6 +683,8 @@ case MT_GM_3_BAR:
|
|||
return "MT_GM_3_BAR";
|
||||
case MT_MPX4100:
|
||||
return "MT_MPX4100";
|
||||
case MT_TOYOTA_89420_02010:
|
||||
return "MT_TOYOTA_89420_02010";
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -620,6 +620,12 @@ typedef enum {
|
|||
*/
|
||||
MT_MPX4100 = 7,
|
||||
|
||||
/**
|
||||
* http://rusefi.com/forum/viewtopic.php?f=3&t=906&p=18976#p18976
|
||||
* Toyota 89420-02010
|
||||
*/
|
||||
MT_TOYOTA_89420_02010 = 8,
|
||||
|
||||
Force_4b_cranking_map_type = ENUM_32_BITS,
|
||||
} air_pressure_sensor_type_e;
|
||||
|
||||
|
|
|
@ -82,6 +82,8 @@ float decodePressure(float voltage, air_pressure_sensor_config_s * config) {
|
|||
return subyDenso.getValue(voltage);
|
||||
case MT_GM_3_BAR:
|
||||
return gm3bar.getValue(voltage);
|
||||
case MT_TOYOTA_89420_02010:
|
||||
// todo: add calibration
|
||||
case MT_MPX4100:
|
||||
return mpx4100.getValue(voltage);
|
||||
default:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by Version2Header
|
||||
// Fri Jun 10 13:15:47 EDT 2016
|
||||
// Sun Jun 12 10:45:07 EDT 2016
|
||||
#ifndef VCS_VERSION
|
||||
#define VCS_VERSION "9984"
|
||||
#define VCS_VERSION "10001"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue