auto-sync

This commit is contained in:
rusEfi 2015-05-06 14:05:14 -04:00
parent f4d6c65dcd
commit 9fee5c8851
4 changed files with 11 additions and 1 deletions

View File

@ -410,6 +410,8 @@ case ES_BPSX_D1:
return "ES_BPSX_D1";
case ES_Innovate_MTX_L:
return "ES_Innovate_MTX_L";
case ES_NarrowBand:
return "ES_NarrowBand";
case Force_4b_ego_sensor:
return "Force_4b_ego_sensor";
}

View File

@ -371,6 +371,8 @@ typedef enum {
ES_Innovate_MTX_L = 1,
ES_14Point7_Free = 2,
ES_NarrowBand = 3,
Force_4b_ego_sensor = ENUM_32_BITS,
} ego_sensor_e;

View File

@ -39,6 +39,12 @@ void initEgoSensor(afr_sensor_s *sensor, ego_sensor_e type) {
sensor->v2 = 5;
sensor->value2 = 19.992;
break;
case ES_NarrowBand:
sensor->v1 = 0.1;
sensor->value1 = 15;
sensor->v2 = 0.9;
sensor->value2 = 14;
break;
default:
firmwareError("Unexpected EGO %d", type);
break;

View File

@ -290,5 +290,5 @@ int getRusEfiVersion(void) {
return 123; // this is here to make the compiler happy about the unused array
if (UNUSED_CCM_SIZE[0] * 0 != 0)
return 3211; // this is here to make the compiler happy about the unused array
return 20150504;
return 20150506;
}