From 244a40656a2aff974b25418791e58703502f566b Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 29 Nov 2019 15:42:55 +0100 Subject: all: format typo Bug-AGL: SPEC-2988 Change-Id: I81c01a817cd31d577068350d8445a1df2751bff7 Signed-off-by: Romain Forlot --- low-can-binding/utils/converter.cpp | 6 +++--- low-can-binding/utils/socketcan-j1939/socketcan-j1939.cpp | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'low-can-binding/utils') diff --git a/low-can-binding/utils/converter.cpp b/low-can-binding/utils/converter.cpp index 1d7abde7..0a09125f 100644 --- a/low-can-binding/utils/converter.cpp +++ b/low-can-binding/utils/converter.cpp @@ -58,12 +58,12 @@ void converter_t::signal_to_bits_bytes(unsigned int bit_position, unsigned int b /** - * @brief This is to use when you have a big endian CAN frame layout. - * It converts the bit position so it matches with little endiant CAN frame layout. + * @brief This is to use when you have a big endian CAN frame layout. + * It converts the bit position so it matches with little endiant CAN frame layout. * * @param bit_position Original bit position. * @param bit_size Size of the data. - * @return uint32_t New little endian bit position. + * @return uint32_t New bit position. */ uint32_t converter_t::bit_position_swap(uint32_t bit_position,uint32_t bit_size) { diff --git a/low-can-binding/utils/socketcan-j1939/socketcan-j1939.cpp b/low-can-binding/utils/socketcan-j1939/socketcan-j1939.cpp index 660dffe4..e8d85b56 100644 --- a/low-can-binding/utils/socketcan-j1939/socketcan-j1939.cpp +++ b/low-can-binding/utils/socketcan-j1939/socketcan-j1939.cpp @@ -211,8 +211,6 @@ namespace utils if(nbytes < 0) return nullptr; - //AFB_DEBUG("Data available: %i bytes read", (int)nbytes); - struct timeval tv; ioctl(socket(), SIOCGSTAMP, &tv); uint64_t timestamp = 1000000 * tv.tv_sec + tv.tv_usec; -- cgit 1.2.3-korg