mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 14:27:35 +08:00
MAVLink sim: Fix code style
This commit is contained in:
@@ -562,6 +562,7 @@ void Simulator::pollForMAVLinkMessages(bool publish)
|
||||
if (pstart_time == 0) {
|
||||
pstart_time = hrt_system_time();
|
||||
}
|
||||
|
||||
len = recvfrom(_fd, _buf, sizeof(_buf), 0, (struct sockaddr *)&_srcaddr, &_addrlen);
|
||||
// send hearbeat
|
||||
mavlink_heartbeat_t hb = {};
|
||||
|
||||
Reference in New Issue
Block a user