mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 16:13:34 +08:00
Merge pull request #119 from battlesnake/master
Minor fixes: unnecessary sign conversion, redundant path delimiter.
This commit is contained in:
@@ -21,4 +21,4 @@ LIBUAVCAN_DSDLC := $(LIBUAVCAN_DIR)dsdl_compiler/libuavcan_dsdlc
|
|||||||
#
|
#
|
||||||
# Standard DSDL definitions
|
# Standard DSDL definitions
|
||||||
#
|
#
|
||||||
UAVCAN_DSDL_DIR := $(UAVCAN_DIR)/dsdl/uavcan
|
UAVCAN_DSDL_DIR := $(UAVCAN_DIR)dsdl/uavcan
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ std::string BitStream::toString() const
|
|||||||
for (unsigned offset = 0; true; offset++)
|
for (unsigned offset = 0; true; offset++)
|
||||||
{
|
{
|
||||||
uint8_t byte = 0;
|
uint8_t byte = 0;
|
||||||
if (1U != buf_.read(offset, &byte, 1U))
|
if (1 != buf_.read(offset, &byte, 1U))
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user