From ddd4374f35df2d8b8e9b4ecf4890abba6fab3734 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Thu, 29 Mar 2018 09:18:58 +0200 Subject: [PATCH] Correct errors in comments Change-Id: I1e02bdfe2473e776e35694b883f084077227853c Signed-off-by: Jonathan Aillet --- low-can-binding/diagnostic/active-diagnostic-request.hpp | 2 +- low-can-binding/diagnostic/diagnostic-message.hpp | 2 +- low-can-binding/utils/timer.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/low-can-binding/diagnostic/active-diagnostic-request.hpp b/low-can-binding/diagnostic/active-diagnostic-request.hpp index 36f9e43c..892feb50 100644 --- a/low-can-binding/diagnostic/active-diagnostic-request.hpp +++ b/low-can-binding/diagnostic/active-diagnostic-request.hpp @@ -75,7 +75,7 @@ private: DiagnosticResponseCallback callback_; ///< callback_ - An optional DiagnosticResponseCallback to be notified whenever a ///< response is received for this request. bool recurring_; ///< bool recurring_ - If true, this is a recurring request and it will remain as active until explicitly cancelled. - ///< The frequencyClock attribute controls how often a recurrin request is made. + ///< The frequencyClock attribute controls how often a recurring request is made. bool wait_for_multiple_responses_; ///< wait_for_multiple_responses_ - False by default, when any response is received for a request ///< it will be removed from the active list. If true, the request will remain active until the timeout ///< clock expires, to allow it to receive multiple response (e.g. to a functional broadcast request). diff --git a/low-can-binding/diagnostic/diagnostic-message.hpp b/low-can-binding/diagnostic/diagnostic-message.hpp index 99c48110..873c7ff2 100644 --- a/low-can-binding/diagnostic/diagnostic-message.hpp +++ b/low-can-binding/diagnostic/diagnostic-message.hpp @@ -41,7 +41,7 @@ enum UNIT { class can_message_set_t; -/// @brief - A representation of an OBD-II PID. +/// @brief - A representation of an OBD-II PID Mode 01 (Note : An OBD-II PID mode 01 contains only one information). class diagnostic_message_t { private: diff --git a/low-can-binding/utils/timer.hpp b/low-can-binding/utils/timer.hpp index a667022a..52b14937 100644 --- a/low-can-binding/utils/timer.hpp +++ b/low-can-binding/utils/timer.hpp @@ -37,7 +37,7 @@ class frequency_clock_t private: float unit_; ///< unit_ - multiplicator to make operation to be in the right unit (milli, micro, nano, etc) float frequency_; ///< the clock frequency in Hz. - uint64_t last_tick_; ///< the last time (in microseconds since startup) that the clock ticked. + uint64_t last_tick_; ///< the last time (in microseconds since epoch) that the clock ticked. time_function_t time_function_; ///< a function returning current time public: -- 2.16.6