From 934cc4f2d209d0824dc7c1347bdf02b961033970 Mon Sep 17 00:00:00 2001 From: Mark K Cowan Date: Wed, 29 Nov 2017 16:55:27 +0000 Subject: [PATCH 1/2] Fixed unnecessary sign conversion --- libuavcan/src/marshal/uc_bit_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libuavcan/src/marshal/uc_bit_stream.cpp b/libuavcan/src/marshal/uc_bit_stream.cpp index 0f4a523684..fba0153fb2 100644 --- a/libuavcan/src/marshal/uc_bit_stream.cpp +++ b/libuavcan/src/marshal/uc_bit_stream.cpp @@ -84,7 +84,7 @@ std::string BitStream::toString() const for (unsigned offset = 0; true; offset++) { uint8_t byte = 0; - if (1U != buf_.read(offset, &byte, 1U)) + if (1 != buf_.read(offset, &byte, 1U)) { break; } From 155c721324bca3417f5cd09ef14b1cc73b8e63ac Mon Sep 17 00:00:00 2001 From: Mark K Cowan Date: Wed, 29 Nov 2017 16:55:44 +0000 Subject: [PATCH 2/2] Removed redundant path delimiter --- libuavcan/include.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libuavcan/include.mk b/libuavcan/include.mk index f4c01de5df..f8caf02531 100644 --- a/libuavcan/include.mk +++ b/libuavcan/include.mk @@ -21,4 +21,4 @@ LIBUAVCAN_DSDLC := $(LIBUAVCAN_DIR)dsdl_compiler/libuavcan_dsdlc # # Standard DSDL definitions # -UAVCAN_DSDL_DIR := $(UAVCAN_DIR)/dsdl/uavcan +UAVCAN_DSDL_DIR := $(UAVCAN_DIR)dsdl/uavcan