diff --git a/firmware/controllers/sensors/sensor.cpp b/firmware/controllers/sensors/sensor.cpp index ba08588aa5..bf0c73b926 100644 --- a/firmware/controllers/sensors/sensor.cpp +++ b/firmware/controllers/sensors/sensor.cpp @@ -51,6 +51,9 @@ static const char* s_sensorNames[] = { "Invalid", "CLT", "IAT", + "RPM", + "MAP", + "MAF", "Oil Pressure", diff --git a/firmware/controllers/sensors/sensor_type.h b/firmware/controllers/sensors/sensor_type.h index 1b94278aae..2c41e6c1e6 100644 --- a/firmware/controllers/sensors/sensor_type.h +++ b/firmware/controllers/sensors/sensor_type.h @@ -11,9 +11,11 @@ /** ************************************** * SEE sensor.h ON HOW TO ADD NEW SENSOR TYPES + * While changing SensorType make sure to change s_sensorNames + * TODO: SensorType to s_sensorNames mapping has to be done by code generation! We already have relevant tools + * maybe we just need a better naming convention? ************************************** */ - enum class SensorType : unsigned char { Invalid = 0, Clt,