File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
MAVGCL/src/main/java/com/comino/flight/log/ulog Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ private MavLinkULOGHandler(IMAVController control) {
145145 // e.printStackTrace();
146146 }
147147
148- logger .writeLocalMsg ("[mgc] Import completed (" + speed + " kb/sec) " );
148+ logger .writeLocalMsg ("[mgc] Import completed in " +(( System . currentTimeMillis ()- start )/ 1000 )+ "secs " );
149149 DateFormat formatter = new SimpleDateFormat ("YYYYMMdd-HHmmss" );
150150 String name = "Log-" + log_id + "-" + formatter .format (directory .get (log_id ).time_utc );
151151 copyFileToLogDir (path , name );
@@ -231,7 +231,6 @@ private void requestLog(final int id) {
231231 System .out .println ("Expected packages: " + unread_packages .size ()+"/" +entry .size );
232232 logger .writeLocalMsg ("[mgc] Importing Log (" + id + ") - " + (entry .size / 1024 ) + " kb" );
233233
234-
235234 start = System .currentTimeMillis ();
236235 retry = 0 ;
237236 chunk_offset = 0 ;
You can’t perform that action at this time.
0 commit comments