diff --git a/firmware/config/engines/mazda_miata.cpp b/firmware/config/engines/mazda_miata.cpp index cff5238c88..e0830bb95c 100644 --- a/firmware/config/engines/mazda_miata.cpp +++ b/firmware/config/engines/mazda_miata.cpp @@ -268,15 +268,14 @@ static void setMiata1994_common(engine_configuration_s *engineConfiguration, boa boardConfiguration->idleValvePin = GPIOB_9; - boardConfiguration->ignitionPins[0] = GPIOC_7; // Frankenso high side #3 + boardConfiguration->ignitionPins[0] = GPIOE_14; // Frankenso high side - pin 1G boardConfiguration->ignitionPins[1] = GPIO_UNASSIGNED; - boardConfiguration->ignitionPins[2] = GPIOE_14; // Frankenso high side #2 + boardConfiguration->ignitionPins[2] = GPIOC_7; // Frankenso high side - pin 1H boardConfiguration->ignitionPins[3] = GPIO_UNASSIGNED; boardConfiguration->ignitionPinMode = OM_DEFAULT; setFrankenso_01_LCD(boardConfiguration); - commonFrankensoAnalogInputs(engineConfiguration); engineConfiguration->tpsAdcChannel = EFI_ADC_2; @@ -284,7 +283,6 @@ static void setMiata1994_common(engine_configuration_s *engineConfiguration, boa engineConfiguration->mafAdcChannel = EFI_ADC_0; engineConfiguration->cltAdcChannel = EFI_ADC_12; engineConfiguration->iatAdcChannel = EFI_ADC_11; - } diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index 7b262f7383..93d7934f12 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -426,8 +426,6 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_ boardConfiguration->tunerStudioThreadPeriod = 300; boardConfiguration->generalPeriodicThreadPeriod = 50; - boardConfiguration->tunerStudioSerialSpeed = 38400; - boardConfiguration->boardTestModeJumperPin = GPIOB_0; boardConfiguration->canDeviceMode = CD_USE_CAN2; diff --git a/firmware/controllers/algo/engine_configuration.h b/firmware/controllers/algo/engine_configuration.h index 626e269eb5..1d749d5fde 100644 --- a/firmware/controllers/algo/engine_configuration.h +++ b/firmware/controllers/algo/engine_configuration.h @@ -182,8 +182,7 @@ typedef struct { int tunerStudioThreadPeriod; int generalPeriodicThreadPeriod; - short int tunerStudioSerialSpeed; - short int unusedShort; + uint32_t tunerStudioSerialSpeed; brain_pin_e boardTestModeJumperPin; diff --git a/firmware/controllers/flash_main.h b/firmware/controllers/flash_main.h index 40751e4896..fe699b3ca6 100644 --- a/firmware/controllers/flash_main.h +++ b/firmware/controllers/flash_main.h @@ -12,7 +12,7 @@ #include "engine_configuration.h" #include "engine.h" -#define FLASH_DATA_VERSION 5376 +#define FLASH_DATA_VERSION 5386 void readFromFlash(void); void initFlash(Engine *engine);