OSDN Git Service

Disable DEBUG messages by default marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 android-x86-7.1-r1 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-8.1-r1
authorChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 22 Jun 2016 04:52:59 +0000 (12:52 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 22 Jun 2016 05:04:05 +0000 (13:04 +0800)
As suggested by Roman Petrovski <roman.petrovski@gmail.com>,
the messages are too verbose.

gps.c
gps_huawei.c

diff --git a/gps.c b/gps.c
index 60fcbe6..1e2e181 100644 (file)
--- a/gps.c
+++ b/gps.c
@@ -47,7 +47,6 @@ typedef struct {
 
 static GpsState  _gps_state[1];
 static int    id_in_fixed[12];
-#define  GPS_DEBUG  1
 
 #define  DFR(...)   ALOGD(__VA_ARGS__)
 
index 7238a48..a5b301e 100644 (file)
@@ -39,8 +39,6 @@
 #include <cutils/properties.h>
 #include <hardware/gps.h>
 
-#define  GPS_DEBUG  0
-
 #if GPS_DEBUG
 #  define  D(...)   ALOGD(__VA_ARGS__)
 #else