Android-x86
Fork
捐款

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-gps: 提交

hardware/gps


Commit MetaInfo

修訂7085c66b1b0c041cc137c6ea8c74bfcbf2e6eb1d (tree)
時間2016-06-22 14:04:05
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Disable DEBUG messages by default

As suggested by Roman Petrovski <roman.petrovski@gmail.com>,
the messages are too verbose.

Change Summary

差異

--- a/gps.c
+++ b/gps.c
@@ -47,7 +47,6 @@ typedef struct {
4747
4848 static GpsState _gps_state[1];
4949 static int id_in_fixed[12];
50-#define GPS_DEBUG 1
5150
5251 #define DFR(...) ALOGD(__VA_ARGS__)
5352
--- a/gps_huawei.c
+++ b/gps_huawei.c
@@ -39,8 +39,6 @@
3939 #include <cutils/properties.h>
4040 #include <hardware/gps.h>
4141
42-#define GPS_DEBUG 0
43-
4442 #if GPS_DEBUG
4543 # define D(...) ALOGD(__VA_ARGS__)
4644 #else
Show on old repository browser