File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments