boards: add px4_fmu-v4 and px4_fmu-v5 optimized (-O3) build variants

This commit is contained in:
Daniel Agar
2020-03-22 17:50:17 -04:00
committed by GitHub
parent 1e5784609f
commit b73ec18abb
12 changed files with 900 additions and 3 deletions
@@ -32,6 +32,8 @@
############################################################################
px4_add_module(
MODULE drivers__pga460
COMPILE_FLAGS
-Wno-error=strict-overflow # TODO: fix
MAIN pga460
SRCS
pga460.cpp
+1 -1
View File
@@ -880,7 +880,7 @@ IST8310::write_reg(uint8_t reg, uint8_t val)
int
IST8310::read_reg(uint8_t reg, uint8_t &val)
{
uint8_t buf = val;
uint8_t buf = 0;
int ret = read(reg, &buf, 1);
val = buf;
return ret;
@@ -877,7 +877,7 @@ bool MavlinkFtpTest::_receive_message_handler_burst(const mavlink_file_transfer_
BurstInfo *burst_info)
{
hrt_abstime t = 0;
const MavlinkFTP::PayloadHeader *reply;
const MavlinkFTP::PayloadHeader *reply{nullptr};
uint32_t full_packet_bytes = MAVLINK_MSG_FILE_TRANSFER_PROTOCOL_FIELD_PAYLOAD_LEN - sizeof(MavlinkFTP::PayloadHeader);
uint32_t expected_bytes;