commit | af363dc649c76c859ef64ca0ddc17c67c6f70d7b | [log] [tgz] |
---|---|---|
author | yq.wang <yq.wang@mobiletek.cn> | Tue Aug 06 20:16:00 2024 -0700 |
committer | yq.wang <yq.wang@mobiletek.cn> | Tue Aug 06 20:16:00 2024 -0700 |
tree | cf2b25c204f6b149196e7ed5db9517ee8dd2f710 | |
parent | 05a17cf1a99064580f8599d1fdc43e4cd1aea9eb [diff] |
gnss: update gnss fw download code Change-Id: Iaba40436629ee6ff4b63961d697eeb27ced814c2
diff --git a/mbtk/mbtk_gnssd/hd8122_dl/fwup.c b/mbtk/mbtk_gnssd/hd8122_dl/fwup.c index 16b30a5..9b667cf 100755 --- a/mbtk/mbtk_gnssd/hd8122_dl/fwup.c +++ b/mbtk/mbtk_gnssd/hd8122_dl/fwup.c
@@ -466,7 +466,7 @@ //uart_send((uint8_t *)cmdCFGRST, 9); HDBD_LOG("[%s %d] upgrade success!\n", __FUNCTION__, __LINE__); - return 1; + return 0; }
diff --git a/mbtk/mbtk_gnssd/hd8122_dl/port.h b/mbtk/mbtk_gnssd/hd8122_dl/port.h index 56ea1e9..5e55db8 100755 --- a/mbtk/mbtk_gnssd/hd8122_dl/port.h +++ b/mbtk/mbtk_gnssd/hd8122_dl/port.h
@@ -16,11 +16,12 @@ #include <dirent.h> #include <sys/stat.h> +#include "mbtk_log.h" #define SUCCESS 0 #define FAIL -1 #ifndef HDBD_LOG -#define HDBD_LOG printf +#define HDBD_LOG LOGE #endif typedef unsigned char uint8_t;