all: Format one line 'if' or 'for' statement.
[apps/agl-service-can-low-level.git] / low-can-binding / utils / converter.cpp
index 5cfc8f5..d10888d 100644 (file)
@@ -32,9 +32,8 @@ std::string converter_t::to_hex(const uint8_t data[], const size_t length)
        std::stringstream stream;
        stream << std::hex << std::setfill('0');
        for(int i = 0; i < length; i++)
-       {
                stream << std::hex << ((int) data[i]);
-       }
+
        return stream.str();
 }
 
@@ -55,4 +54,4 @@ void converter_t::signal_to_bits_bytes(uint32_t bit_position, uint32_t bit_size,
        new_start_bit = bit_position % 8;
        new_end_byte = (bit_position + bit_size - 1) >> 3;
        new_end_bit = (bit_position + bit_size - 1) % 8;
-}
\ No newline at end of file
+}