diff --git a/firmware/config/engines/mazda_miata.cpp b/firmware/config/engines/mazda_miata.cpp index c71db7b2d1..05bb386506 100644 --- a/firmware/config/engines/mazda_miata.cpp +++ b/firmware/config/engines/mazda_miata.cpp @@ -312,6 +312,8 @@ void setMiata1994_s(engine_configuration_s *engineConfiguration, board_configura boardConfiguration->triggerSimulatorPins[2] = GPIO_UNASSIGNED; + engineConfiguration->acSwitchAdc = EFI_ADC_1; // PA1, W50 on Frankenso + /** * This board has PE0 & PE1 mosfets rewires to PD3 and PD5 */ diff --git a/firmware/controllers/algo/auto_generated_enums.cpp b/firmware/controllers/algo/auto_generated_enums.cpp index ab4af8957b..b9ec12551c 100644 --- a/firmware/controllers/algo/auto_generated_enums.cpp +++ b/firmware/controllers/algo/auto_generated_enums.cpp @@ -525,6 +525,8 @@ case IE_NO_ERROR: } const char *getAdc_channel_e(adc_channel_e value){ switch(value) { +case EFI_ADC_NONE: + return "EFI_ADC_NONE"; case EFI_ADC_14: return "EFI_ADC_14"; case EFI_ADC_13: diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index bc7cb06281..ec29d1781b 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -300,6 +300,8 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_ boardConfiguration->acRelayPin = GPIO_UNASSIGNED; boardConfiguration->acRelayPinMode = OM_DEFAULT; + engineConfiguration->acSwitchAdc = EFI_ADC_NONE; + #if EFI_PROD_CODE engineConfiguration->digitalChartSize = 300; #else diff --git a/firmware/controllers/algo/rusefi_enums.h b/firmware/controllers/algo/rusefi_enums.h index d1406b4ee3..2ca984d593 100644 --- a/firmware/controllers/algo/rusefi_enums.h +++ b/firmware/controllers/algo/rusefi_enums.h @@ -333,6 +333,8 @@ typedef enum { EFI_ADC_14 = 14, EFI_ADC_15 = 15, + + EFI_ADC_NONE = 888, EFI_ADC_ERROR = 999, Force_4b_cranking_adc_channel = ENUM_SIZE_HACK, diff --git a/hardware/frankenso/known_issues.txt b/hardware/frankenso/known_issues.txt index 8e0834ac22..13d7302215 100644 --- a/hardware/frankenso/known_issues.txt +++ b/hardware/frankenso/known_issues.txt @@ -33,6 +33,8 @@ 32) R0.3 Q411 should be 1.5mm lower to improve clearance with the case 33) R0.3 Q412 should be moved 3mm to the left, this would probably affect W63 which would affect the whole corner. Maybe move Q412 to the back of the board? 34) RESOLVED IN R0.3 R0.3 rename the recently added low-side diodes and LEDs/resistors into 400 range +35) test pads explicit silkscreen +36) test pads on the back of the board For honda add-on / rewiring board -- Add 2A high side solinoid drive for VTec sol