aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-23 16:07:17 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-12-03 19:46:26 +0100
commit43f70e386855be0af6ec90f32ed973505983993b (patch)
tree77aaf6503b3434333d477b3af6344370b1dc8d14
parent88608e3c924e35bfea623357a80fc3c2048bcdf7 (diff)
decoder/encoder: typo
Change-Id: I9ebea118770a9ffe0dd4321408643e76250e3635 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-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 e9d01557..7f92920f 100644
--- a/low-can-binding/can/can-decoder.cpp
+++ b/low-can-binding/can/can-decoder.cpp
@@ -162,7 +162,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 2e79148f..bd6f8762 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