mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 13:30:34 +08:00
Fixes for posix-arm and qurt builds
Ifdefed out deadcode in position_estimator_inav_main.c as the deadcode does not compile for qurt. Added fixes to get a successful build for posix-arm and qurt targets. Removed CLOCK_REALTIME def from px4_time.h for qurt and removed unused variables in att_est_q and mc_att_control. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -457,7 +457,7 @@ int16_t uORB::FastRpcChannel::get_bulk_data
|
||||
}
|
||||
|
||||
if (topic_count_to_return != *topic_count) {
|
||||
PX4_WARN("Not sending all topics: topics_to_return:[%d] topics_returning:[%d]", topic_count_to_return, *topic_count);
|
||||
PX4_WARN("Not sending all topics: topics_to_return:[%ld] topics_returning:[%ld]", topic_count_to_return, *topic_count);
|
||||
}
|
||||
|
||||
_QueueMutex.unlock();
|
||||
@@ -539,7 +539,7 @@ int32_t uORB::FastRpcChannel::copy_data_to_buffer(int32_t src_index, uint8_t *ds
|
||||
|
||||
} else {
|
||||
PX4_WARN("Error coping the DataMsg to dst buffer, insuffienct space. ");
|
||||
PX4_WARN("... offset[%d] len[%d] data_msg_len[%d]",
|
||||
PX4_WARN("... offset[%ld] len[%ld] data_msg_len[%ld]",
|
||||
offset, dst_buffer_len, (field_data_offset - offset) + _DataMsgQueue[ src_index ]._Length);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user