1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

Fixup: Lower the debugging output for uavtalk

This commit is contained in:
James Cotton 2012-08-05 04:44:54 -05:00
parent 0d5140a67d
commit 3ddcb4440e

View File

@ -12,7 +12,7 @@ import android.util.Log;
public class UAVTalk extends Observable {
static final String TAG = "UAVTalk";
public static int LOGLEVEL = -1;
public static int LOGLEVEL = 0;
public static boolean WARN = LOGLEVEL > 1;
public static boolean DEBUG = LOGLEVEL > 0;
@ -349,7 +349,7 @@ public class UAVTalk extends Observable {
{
UAVObject rxObj = objMngr.getObject(rxObjId);
if (rxObj == null) {
Log.d(TAG, "Unknown ID: " + rxObjId);
if (DEBUG) Log.d(TAG, "Unknown ID: " + rxObjId);
stats.rxErrors++;
rxState = RxStateType.STATE_SYNC;
break;