From f2a80a4eb7b11f9a72f5100f6ef1139d55b9ecdd Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 31 Aug 2020 22:50:01 -0400 Subject: [PATCH] OBD CAN sensors #1733 --- firmware/controllers/sensors/sensor.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/firmware/controllers/sensors/sensor.h b/firmware/controllers/sensors/sensor.h index 2eafcd79a1..a47e940a96 100644 --- a/firmware/controllers/sensors/sensor.h +++ b/firmware/controllers/sensors/sensor.h @@ -63,9 +63,7 @@ public: // Register this sensor in the sensor registry. // Returns true if registration succeeded, or false if // another sensor of the same type is already registered. - // The return value should not be ignored: no error handling/reporting is - // done internally! - [[nodiscard]] bool Register(); + bool Register(); // Print information about this sensor virtual void showInfo(Logging* logger, const char* sensorName) const = 0;