This commit is contained in:
parent
5c6fac7df1
commit
fa3fed1ffd
|
@ -28,10 +28,6 @@
|
||||||
#include "scheduler.h"
|
#include "scheduler.h"
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif /* EFI_PROD_CODE */
|
||||||
|
|
||||||
#if HW_PROTEUS & EFI_PROD_CODE
|
|
||||||
#include "proteus_meta.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if EFI_PROD_CODE
|
#if EFI_PROD_CODE
|
||||||
static int periodIndex = 0;
|
static int periodIndex = 0;
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include "gm_ls_4.h"
|
#include "gm_ls_4.h"
|
||||||
#include "defaults.h"
|
#include "defaults.h"
|
||||||
#include <rusefi/arrays.h>
|
#include <rusefi/arrays.h>
|
||||||
|
#include "proteus_meta.h"
|
||||||
|
|
||||||
void setGmLs4() {
|
void setGmLs4() {
|
||||||
engineConfiguration->globalTriggerAngleOffset = 86;
|
engineConfiguration->globalTriggerAngleOffset = 86;
|
||||||
|
@ -139,12 +140,13 @@ end
|
||||||
}
|
}
|
||||||
|
|
||||||
void setProteusGmLs4() {
|
void setProteusGmLs4() {
|
||||||
|
#if HW_PROTEUS
|
||||||
engineConfiguration->etbFunctions[1] = ETB_None;
|
engineConfiguration->etbFunctions[1] = ETB_None;
|
||||||
|
|
||||||
engineConfiguration->mainRelayPin = PROTEUS_LS_12;
|
engineConfiguration->mainRelayPin = PROTEUS_LS_12;
|
||||||
setPPSInputs(PROTEUS_IN_ANALOG_VOLT_4, PROTEUS_IN_ANALOG_VOLT_3);
|
setPPSInputs(PROTEUS_IN_ANALOG_VOLT_4, PROTEUS_IN_ANALOG_VOLT_3);
|
||||||
|
|
||||||
// todo: tps
|
// todo: tps
|
||||||
|
#endif //HW_PROTEUS
|
||||||
setGmLs4();
|
setGmLs4();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue