From 51e9b1a50a2e97faccb3ce99af26b97e000a8f1e Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 6 Feb 2022 12:39:25 -0500 Subject: [PATCH] I2C EEPROM support #3860 --- firmware/controllers/algo/auto_generated_enginetypes.cpp | 2 +- firmware/controllers/algo/engine_configuration.cpp | 2 +- firmware/controllers/algo/engine_types.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/controllers/algo/auto_generated_enginetypes.cpp b/firmware/controllers/algo/auto_generated_enginetypes.cpp index c56ba4ea5b..d2942aa0e7 100644 --- a/firmware/controllers/algo/auto_generated_enginetypes.cpp +++ b/firmware/controllers/algo/auto_generated_enginetypes.cpp @@ -351,7 +351,7 @@ case TOYOTA_JZS147: return "TOYOTA_JZS147"; case UNUSED39: return "UNUSED39"; -case UNUSED60: +case L9779_BENCH_ENGINE: return "UNUSED60"; case UNUSED61: return "UNUSED61"; diff --git a/firmware/controllers/algo/engine_configuration.cpp b/firmware/controllers/algo/engine_configuration.cpp index de352a48df..6b339ee7df 100644 --- a/firmware/controllers/algo/engine_configuration.cpp +++ b/firmware/controllers/algo/engine_configuration.cpp @@ -845,7 +845,7 @@ void resetConfigurationExt(configuration_callback_t boardCallback, engine_type_e * And override them with engine-specific defaults */ switch (engineType) { - case UNUSED60: + case L9779_BENCH_ENGINE: case UNUSED61: case HELLEN72_ETB: case MINIMAL_PINS: diff --git a/firmware/controllers/algo/engine_types.h b/firmware/controllers/algo/engine_types.h index 5d89ea2c6a..e3a0f46b1f 100644 --- a/firmware/controllers/algo/engine_types.h +++ b/firmware/controllers/algo/engine_types.h @@ -158,7 +158,7 @@ typedef enum { TLE8888_BENCH_ENGINE = 59, - UNUSED60 = 60, + L9779_BENCH_ENGINE = 60, UNUSED61 = 61,