From 94daeb79223a13bd76eb12de8b3299aff64505c7 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 29 Aug 2020 14:36:23 -0400 Subject: [PATCH] OBD CAN sensors #1733 --- firmware/controllers/sensors/can_sensor.h | 3 +++ firmware/hw_layer/drivers/can/can_hw.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/firmware/controllers/sensors/can_sensor.h b/firmware/controllers/sensors/can_sensor.h index 32395ef95c..990fd76032 100644 --- a/firmware/controllers/sensors/can_sensor.h +++ b/firmware/controllers/sensors/can_sensor.h @@ -11,6 +11,9 @@ #include "scaled_channel.h" #include "hal.h" +/** + * Sensor which reads it's value from CAN + */ class CanSensorBase : public StoredValueSensor { public: CanSensorBase(uint32_t eid, SensorType type, efitick_t timeout) diff --git a/firmware/hw_layer/drivers/can/can_hw.cpp b/firmware/hw_layer/drivers/can/can_hw.cpp index 14a39e177f..fa999a4d6a 100644 --- a/firmware/hw_layer/drivers/can/can_hw.cpp +++ b/firmware/hw_layer/drivers/can/can_hw.cpp @@ -5,6 +5,9 @@ * todo: this file should be split into two - one for CAN transport level ONLY and * another one with actual messages * + * @see can_verbose.cpp for higher level logic + * @see obd2.cpp for OBD-II messages via CAN + * * @date Dec 11, 2013 * @author Andrey Belomutskiy, (c) 2012-2020 */