OBD CAN sensors #1733
This commit is contained in:
parent
6f69bd1609
commit
70f2c88d40
|
@ -51,6 +51,9 @@ static const char* s_sensorNames[] = {
|
|||
"Invalid",
|
||||
"CLT",
|
||||
"IAT",
|
||||
"RPM",
|
||||
"MAP",
|
||||
"MAF",
|
||||
|
||||
"Oil Pressure",
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue