auto-sync

This commit is contained in:
rusEfi 2015-02-24 08:05:15 -06:00
parent 9501dba5ee
commit 56a21e9827
5 changed files with 14 additions and 6 deletions

View File

@ -94,6 +94,11 @@ void setCustomEngineConfiguration(engine_configuration_s *engineConfiguration) {
// todo: 8.2 or 10k?
engineConfiguration->vbattDividerCoeff = ((float) (10 + 33)) / 10 * 2;
engineConfiguration->tpsAdcChannel = EFI_ADC_NONE;
engineConfiguration->cltAdcChannel = EFI_ADC_12;
engineConfiguration->iatAdcChannel = EFI_ADC_11;
}
#endif /* CONFIG_ENGINES_CUSTOM_ENGINE_CPP_ */

View File

@ -45,13 +45,13 @@ void setMazda626EngineConfiguration(engine_configuration_s *engineConfiguration)
commonFrankensoAnalogInputs(engineConfiguration);
engineConfiguration->hasTpsSensor = false;
engineConfiguration->tpsAdcChannel = EFI_ADC_NONE;
// engineConfiguration->map.sensor.hwChannel = EFI_ADC_4;
engineConfiguration->mafAdcChannel = EFI_ADC_0;
engineConfiguration->cltAdcChannel = EFI_ADC_12;
engineConfiguration->iatAdcChannel = EFI_ADC_11;
// todo: 8.2 or 10k?
engineConfiguration->vbattDividerCoeff = ((float) (10 + 33)) / 10 * 2;
// todo engineConfiguration->afr.hwChannel = EFI_ADC_3;
initEgoSensor(&engineConfiguration->afr, ES_Innovate_MTX_L);
}

View File

@ -359,6 +359,9 @@ typedef enum {
typedef enum {
ES_BPSX_D1 = 0,
/**
* same as innovate LC2
*/
ES_Innovate_MTX_L = 1,
ES_14Point7_Free = 2,

View File

@ -1,5 +1,5 @@
// This file was generated by Version2Header
// Tue Feb 24 07:45:52 EST 2015
// Tue Feb 24 07:56:32 EST 2015
#ifndef VCS_VERSION
#define VCS_VERSION "7025"
#define VCS_VERSION "7040"
#endif

View File

@ -48,7 +48,7 @@ public class AutoTest {
// todo: add more content
}
private static void setEngineType(int type) {
static void setEngineType(int type) {
currentEngineType = type;
sendCommand("set_engine_type " + type, COMPLEX_COMMAND_RETRY, 600);
sleep(10);