Merge pull request #119 from battlesnake/master

Minor fixes: unnecessary sign conversion, redundant path delimiter.
This commit is contained in:
Pavel Kirienko 2017-11-29 19:25:59 +02:00 committed by GitHub
commit 9044cd17c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;
}