From 948a4a7e2c3dd4b36414909f443a59f4654fbf12 Mon Sep 17 00:00:00 2001 From: Andrey Gusakov Date: Sat, 20 Apr 2024 17:03:42 +0300 Subject: [PATCH] hw_enums: ups, someone forgot to update BRAIN_PIN_LAST --- firmware/config/boards/cypress/rusefi_hw_enums.h | 2 +- firmware/config/boards/kinetis/rusefi_hw_enums.h | 2 +- firmware/config/boards/subaru_eg33/rusefi_hw_enums.h | 2 +- firmware/controllers/algo/rusefi_hw_stm32_enums.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/config/boards/cypress/rusefi_hw_enums.h b/firmware/config/boards/cypress/rusefi_hw_enums.h index 092e9b0b29..77f0a6e164 100644 --- a/firmware/config/boards/cypress/rusefi_hw_enums.h +++ b/firmware/config/boards/cypress/rusefi_hw_enums.h @@ -232,7 +232,7 @@ enum class Gpio : uint16_t { /* Please keep updating this defines */ #define BRAIN_PIN_ONCHIP_LAST Gpio::K15 #define BRAIN_PIN_ONCHIP_PINS (BRAIN_PIN_ONCHIP_LAST - Gpio::A0 + 1) -#define BRAIN_PIN_LAST Gpio::DRV8860_PIN_16 +#define BRAIN_PIN_LAST Gpio::CAN_PIN_7 #define BRAIN_PIN_TOTAL_PINS (BRAIN_PIN_LAST - Gpio::A0 + 1) #include "rusefi_hw_adc_enums.h" diff --git a/firmware/config/boards/kinetis/rusefi_hw_enums.h b/firmware/config/boards/kinetis/rusefi_hw_enums.h index a7c7c0f8ff..82f4de7bc7 100644 --- a/firmware/config/boards/kinetis/rusefi_hw_enums.h +++ b/firmware/config/boards/kinetis/rusefi_hw_enums.h @@ -141,7 +141,7 @@ enum class Gpio : uint16_t { /* Please keep updating these defines */ #define BRAIN_PIN_ONCHIP_LAST Gpio::E17 #define BRAIN_PIN_ONCHIP_PINS (BRAIN_PIN_ONCHIP_LAST - Gpio::A0 + 1) -#define BRAIN_PIN_LAST Gpio::TLE6240_PIN_16 +#define BRAIN_PIN_LAST Gpio::CAN_PIN_7 #define BRAIN_PIN_TOTAL_PINS (BRAIN_PIN_LAST - Gpio::A0 + 1) #include "rusefi_hw_adc_enums.h" \ No newline at end of file diff --git a/firmware/config/boards/subaru_eg33/rusefi_hw_enums.h b/firmware/config/boards/subaru_eg33/rusefi_hw_enums.h index efa8fd3649..7f264d9316 100644 --- a/firmware/config/boards/subaru_eg33/rusefi_hw_enums.h +++ b/firmware/config/boards/subaru_eg33/rusefi_hw_enums.h @@ -264,7 +264,7 @@ enum class Gpio : uint16_t { /* Please keep updating these defines */ #define BRAIN_PIN_ONCHIP_LAST Gpio::I15 #define BRAIN_PIN_ONCHIP_PINS (BRAIN_PIN_ONCHIP_LAST - Gpio::A0 + 1) -#define BRAIN_PIN_LAST Gpio::MC33810_1_GD_3 +#define BRAIN_PIN_LAST Gpio::TLE9104_5_OUT_3 #define BRAIN_PIN_TOTAL_PINS (BRAIN_PIN_LAST - Gpio::A0 + 1) /* Please keep updating these defines */ diff --git a/firmware/controllers/algo/rusefi_hw_stm32_enums.h b/firmware/controllers/algo/rusefi_hw_stm32_enums.h index 5ca2c1d13f..7064831476 100644 --- a/firmware/controllers/algo/rusefi_hw_stm32_enums.h +++ b/firmware/controllers/algo/rusefi_hw_stm32_enums.h @@ -346,5 +346,5 @@ enum class Gpio : uint16_t { /* Please keep updating these defines */ #define BRAIN_PIN_ONCHIP_LAST Gpio::I15 #define BRAIN_PIN_ONCHIP_PINS (BRAIN_PIN_ONCHIP_LAST - Gpio::A0 + 1) -#define BRAIN_PIN_LAST Gpio::MC33810_1_GD_3 +#define BRAIN_PIN_LAST Gpio::TLE9104_5_OUT_3 #define BRAIN_PIN_TOTAL_PINS (BRAIN_PIN_LAST - Gpio::A0 + 1)