hw_enums: ups, someone forgot to update BRAIN_PIN_LAST

This commit is contained in:
Andrey Gusakov 2024-04-20 17:03:42 +03:00 committed by rusefillc
parent 2b0512e00b
commit 948a4a7e2c
4 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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 */

View File

@ -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)