diff --git a/easyflash/src/ef_env_wl.c b/easyflash/src/ef_env_wl.c index 3516fa3..a764012 100644 --- a/easyflash/src/ef_env_wl.c +++ b/easyflash/src/ef_env_wl.c @@ -616,7 +616,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; }