git.haldean.org droidcopter / 876fc33
Disabled AmarinoService logging; reenabled telemetry Benjamin Bardin 11 years ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
335335 ConnectedThread ct = connections.get(address);
336336 if (ct != null) {
337337 ct.write(data);
338 try {
338 /*try {
339339 if (logfile != null)
340340 logfile.write(Long.toString(System.currentTimeMillis()) + " " + new String(data) + "\n");
341341 }
342342 catch (IOException e) {
343343 Log.e(TAG, "Cannot write to logfile.");
344344 e.printStackTrace();
345 }
345 }*/
346346 }
347347 }
348348
1414 {
1515 /** Tag for logging */
1616 public static final String TAG = "chopper.ChopperMain";
17 private boolean telemetry = false;
17 private boolean telemetry = true;
1818
1919 private static boolean mFirstRun = true;
2020 private Guidance guid;