decoder/encoder: typo
authorRomain Forlot <romain.forlot@iot.bzh>
Sat, 23 Nov 2019 15:07:17 +0000 (16:07 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 3 Dec 2019 18:46:26 +0000 (19:46 +0100)
Change-Id: I9ebea118770a9ffe0dd4321408643e76250e3635
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/can/can-decoder.cpp
low-can-binding/can/can-encoder.cpp

index e9d0155..7f92920 100644 (file)
@@ -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;
        }
 
index 2e79148..bd6f876 100644 (file)
@@ -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