diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | packaging/tel-plugin-mfld-blackbay.spec | 2 | ||||
-rw-r--r-- | src/desc_mfld_blackbay.c | 6 | ||||
-rw-r--r-- | src/util_mfld_blackbay.c | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fbd0f5d..918b106 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include/ ${KERNEL_INCLUDE}) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align") ADD_DEFINITIONS("-D__EXPORTED_HEADERS__") -ADD_DEFINITIONS("-DFEATURE_DLOG_DEBUG") +ADD_DEFINITIONS("-DFEATURE_TLOG_DEBUG") ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"MFLD-BLACKBAY\"") MESSAGE(${CMAKE_C_FLAGS}) diff --git a/packaging/tel-plugin-mfld-blackbay.spec b/packaging/tel-plugin-mfld-blackbay.spec index 67b2dbb..361a4d7 100644 --- a/packaging/tel-plugin-mfld-blackbay.spec +++ b/packaging/tel-plugin-mfld-blackbay.spec @@ -1,6 +1,6 @@ Name: tel-plugin-mfld-blackbay Summary: Medfield Blackbay plateform telephony plugin -Version: 0.0.2 +Version: 0.0.3 Release: 1 Group: Development/Libraries License: Apache diff --git a/src/desc_mfld_blackbay.c b/src/desc_mfld_blackbay.c index 0bf3156..da27d4a 100644 --- a/src/desc_mfld_blackbay.c +++ b/src/desc_mfld_blackbay.c @@ -101,14 +101,14 @@ static TReturn prepare_and_send_at_request(CoreObject *co, TcoreHal *hal, /* Create Pending Request */ pending = tcore_pending_new(co, 0); if (pending == NULL) { - dbg("Memory failure, pending is NULL"); + err("Memory failure, pending is NULL"); return TCORE_RETURN_ENOMEM; } /* Create AT-Command Request */ req = tcore_at_request_new(at_cmd, at_cmd_prefix, at_cmd_type); if (req == NULL) { - dbg("Memory failure, request is NULL"); + err("Memory failure, request is NULL"); tcore_pending_free(pending); return TCORE_RETURN_ENOMEM; } @@ -683,7 +683,7 @@ static TReturn hal_setup_netif(CoreObject *co, TcoreHalSetupNetifCallback func, } if ((enable == FALSE) && (cdata->rawip_enabled == FALSE)) { - dbg("PDP context %d already disabled", cid); + err("PDP context %d already disabled", cid); return TCORE_RETURN_SUCCESS; } diff --git a/src/util_mfld_blackbay.c b/src/util_mfld_blackbay.c index b05273f..bb17c26 100644 --- a/src/util_mfld_blackbay.c +++ b/src/util_mfld_blackbay.c @@ -51,7 +51,7 @@ size_t channel_read(GIOChannel *channel, void* buf, size_t nbytes) read_count++;
- err("g_io_channel_read_chars.. status[%d] rbytes =%d read_count = %d", status, rbytes, read_count);
+ dbg("g_io_channel_read_chars.. status[%d] rbytes =%d read_count = %d", status, rbytes, read_count);
bytes_read += rbytes;
toread -= rbytes;
@@ -126,7 +126,7 @@ void util_hex_dump(char *pad, int size, const void *data) unsigned char *p;
if (size <= 0) {
- msg("%sno data", pad);
+ dbg("<%s> no data", pad);
return;
}
@@ -148,6 +148,6 @@ void util_hex_dump(char *pad, int size, const void *data) }
}
- msg("%s", buf);
+ dbg("<%s>", buf);
}
|