OBD CAN sensors #1733

This commit is contained in:
rusefi 2020-08-30 14:27:41 -04:00
parent 6f69bd1609
commit 70f2c88d40
2 changed files with 6 additions and 1 deletions

View File

@ -51,6 +51,9 @@ static const char* s_sensorNames[] = {
"Invalid",
"CLT",
"IAT",
"RPM",
"MAP",
"MAF",
"Oil Pressure",

View File

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