auto-sync

This commit is contained in:
rusEfi 2014-09-18 13:02:57 -05:00
parent 36aac961b6
commit 641b481a80
4 changed files with 15 additions and 4 deletions

View File

@ -252,7 +252,6 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_
engineConfiguration->digitalChartSize = 400;
#endif
engineConfiguration->engineCycle = 720;
engineConfiguration->isInjectionEnabled = true;
@ -276,7 +275,9 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_
for (int i = 0; i < MAX31855_CS_COUNT; i++) {
boardConfiguration->max31855_cs[i] = GPIO_NONE;
}
for (int i = 0; i < GPIO_COUNT; i++) {
boardConfiguration->gpioPins[i] = GPIO_NONE;
}
boardConfiguration->idleValvePin = GPIOE_2;
boardConfiguration->idleValvePinMode = OM_DEFAULT;

View File

@ -33,6 +33,8 @@ typedef struct {
#define MAX31855_CS_COUNT 8
#define GPIO_COUNT 8
#define FUEL_RPM_COUNT 16
#define FUEL_LOAD_COUNT 16
#define VE_RPM_COUNT 16
@ -208,7 +210,10 @@ typedef struct {
spi_device_e max31855spiDevice;
int unusedbs[91];
brain_pin_e gpioPins[GPIO_COUNT];
pin_output_mode_e gpioPinModes[GPIO_COUNT];
int unusedbs[75];
} board_configuration_s;

View File

@ -218,6 +218,11 @@ typedef enum {
Force_4b_pin_output_mode = ENUM_SIZE_HACK,
} pin_output_mode_e;
typedef enum {
Force_4b_gpio_mode = ENUM_SIZE_HACK,
} gpio_mode_e;
typedef enum {
PI_DEFAULT = 0,

View File

@ -235,5 +235,5 @@ void firmwareError(const char *fmt, ...) {
}
int getRusEfiVersion(void) {
return 20140917;
return 20140918;
}