auto-sync

This commit is contained in:
rusEfi 2014-09-25 19:04:07 -05:00
parent 9eca0732b8
commit 8686b467d7
3 changed files with 9 additions and 2 deletions

View File

@ -278,6 +278,9 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_
for (int i = 0; i < GPIO_COUNT; i++) { for (int i = 0; i < GPIO_COUNT; i++) {
boardConfiguration->gpioPins[i] = GPIO_NONE; boardConfiguration->gpioPins[i] = GPIO_NONE;
} }
for (int i = 0; i < JOYSTICK_PIN_COUNT; i++) {
boardConfiguration->joystickPins[i] = GPIO_NONE;
}
boardConfiguration->idleValvePin = GPIOE_2; boardConfiguration->idleValvePin = GPIOE_2;
boardConfiguration->idleValvePinMode = OM_DEFAULT; boardConfiguration->idleValvePinMode = OM_DEFAULT;

View File

@ -35,6 +35,8 @@ typedef struct {
#define GPIO_COUNT 8 #define GPIO_COUNT 8
#define JOYSTICK_PIN_COUNT 5
#define FUEL_RPM_COUNT 16 #define FUEL_RPM_COUNT 16
#define FUEL_LOAD_COUNT 16 #define FUEL_LOAD_COUNT 16
#define VE_RPM_COUNT 16 #define VE_RPM_COUNT 16
@ -213,7 +215,9 @@ typedef struct {
brain_pin_e gpioPins[GPIO_COUNT]; brain_pin_e gpioPins[GPIO_COUNT];
pin_output_mode_e gpioPinModes[GPIO_COUNT]; pin_output_mode_e gpioPinModes[GPIO_COUNT];
int unusedbs[75]; brain_pin_e joystickPins[JOYSTICK_PIN_COUNT];
int unusedbs[70];
} board_configuration_s; } board_configuration_s;

View File

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