auto-sync
This commit is contained in:
parent
36aac961b6
commit
641b481a80
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
||||
|
|
|
@ -235,5 +235,5 @@ void firmwareError(const char *fmt, ...) {
|
|||
}
|
||||
|
||||
int getRusEfiVersion(void) {
|
||||
return 20140917;
|
||||
return 20140918;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue