OBD CAN sensors #1733
This commit is contained in:
parent
d683a092a4
commit
f2a80a4eb7
|
@ -63,9 +63,7 @@ public:
|
||||||
// Register this sensor in the sensor registry.
|
// Register this sensor in the sensor registry.
|
||||||
// Returns true if registration succeeded, or false if
|
// Returns true if registration succeeded, or false if
|
||||||
// another sensor of the same type is already registered.
|
// another sensor of the same type is already registered.
|
||||||
// The return value should not be ignored: no error handling/reporting is
|
bool Register();
|
||||||
// done internally!
|
|
||||||
[[nodiscard]] bool Register();
|
|
||||||
|
|
||||||
// Print information about this sensor
|
// Print information about this sensor
|
||||||
virtual void showInfo(Logging* logger, const char* sensorName) const = 0;
|
virtual void showInfo(Logging* logger, const char* sensorName) const = 0;
|
||||||
|
|
Loading…
Reference in New Issue