From e5fe1392e9a1c993084c8d19a0333da1511bd497 Mon Sep 17 00:00:00 2001 From: XXXXzzzz000 <119524428@qq.com> Date: Fri, 23 Nov 2018 09:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgcc=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- easyflash/src/ef_env_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easyflash/src/ef_env_wl.c b/easyflash/src/ef_env_wl.c index 7533cf1..cf24ea2 100644 --- a/easyflash/src/ef_env_wl.c +++ b/easyflash/src/ef_env_wl.c @@ -588,7 +588,7 @@ void ef_print_env(void) { for (j = 0; j < 4; j++) { c = (*env_cache_detail_addr) >> (8 * j); ef_print("%c", c); - if (c == NULL) { + if (c == '\0') { ef_print("\n"); break; }