Skip to content

Commit 14af6f6

Browse files
committed
fix clang format errors
1 parent 12a3415 commit 14af6f6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/tlog.cpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,11 @@ void TLog::_split_logfile()
101101

102102
// Send MAVLink packet to request all parameters
103103
mavlink_message_t msg;
104-
mavlink_msg_param_request_list_pack(
105-
SYSTEM_ID, MAV_COMP_ID_ALL, &msg,
106-
_target_system_id, MAV_COMP_ID_ALL);
104+
mavlink_msg_param_request_list_pack(SYSTEM_ID,
105+
MAV_COMP_ID_ALL,
106+
&msg,
107+
_target_system_id,
108+
MAV_COMP_ID_ALL);
107109

108110
// Send the MAVLink packet
109111
msg_send(&msg);
@@ -126,9 +128,9 @@ void TLog::_check_and_split_logfile()
126128
return;
127129
}
128130

129-
log_info("Attempting to split file, current size: %ld, max size: %ld",
130-
file_stat.st_size,
131-
_max_tlog_file_size);
131+
log_info("Attempting to split file, current size: %lld, max size: %lld",
132+
(long long)file_stat.st_size,
133+
(long long)_max_tlog_file_size);
132134
_split_logfile();
133135
}
134136

0 commit comments

Comments
 (0)