mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 10:23:34 +08:00
boards: add px4_fmu-v4 and px4_fmu-v5 optimized (-O3) build variants
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
############################################################################
|
||||
px4_add_module(
|
||||
MODULE drivers__pga460
|
||||
COMPILE_FLAGS
|
||||
-Wno-error=strict-overflow # TODO: fix
|
||||
MAIN pga460
|
||||
SRCS
|
||||
pga460.cpp
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user