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:
parent
0d5140a67d
commit
3ddcb4440e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user