aboutsummaryrefslogtreecommitdiffstats
path: root/low-can-binding
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-23 16:07:17 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 15:55:03 +0100
commit92a9d02e999eb72ff08fa0fea375553dbb76a4e6 (patch)
treed4dcfd0a41d68e0f389b17de19f036dcf634ef63 /low-can-binding
parentc0c44da0caba438d0b5445e0c15b511170d37eac (diff)
decoder/encoder: typo
Bug-AGL: SPEC-2991 Change-Id: I9ebea118770a9ffe0dd4321408643e76250e3635 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding')
-rw-r--r--low-can-binding/can/can-decoder.cpp2
-rw-r--r--low-can-binding/can/can-encoder.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/low-can-binding/can/can-decoder.cpp b/low-can-binding/can/can-decoder.cpp
index d70f1252..cf4306a5 100644
--- a/low-can-binding/can/can-decoder.cpp
+++ b/low-can-binding/can/can-decoder.cpp
@@ -156,7 +156,7 @@ openxc_DynamicField decoder_t::decode_bytes(signal_t& signal, std::shared_ptr<me
if(new_start_byte >= length)
{
- AFB_ERROR("Error in description of signals");
+ AFB_ERROR("Error in signal's description");
return decoded_value;
}
diff --git a/low-can-binding/can/can-encoder.cpp b/low-can-binding/can/can-encoder.cpp
index 2700c034..596cc7e2 100644
--- a/low-can-binding/can/can-encoder.cpp
+++ b/low-can-binding/can/can-encoder.cpp
@@ -26,7 +26,7 @@
* @brief Allows to encode data for a signal
*
* @param sig The signal to know its location
- * @param data The data to encod
+ * @param data The data to encode
* @param filter If true that will generate the filter BCM for the signal
* @param factor If true that will use the factor of the signal else 1
* @param offset If true that will use the offset of the signal else 0