Merge pull request #89 from DavidLin1577/patch-5

fixed errors of  output information in bc26_init()
This commit is contained in:
Arthur
2020-02-12 11:00:42 +08:00
committed by GitHub

View File

@@ -201,7 +201,7 @@ static int bc26_init(void)
} }
if (bc26_open_cfun() != 0) { if (bc26_open_cfun() != 0) {
printf("bc26 psm lock FAILED\n"); printf("bc26 open cfun FAILED\n");
return -1; return -1;
} }
@@ -211,17 +211,17 @@ static int bc26_init(void)
} }
if (bc26_open_err_code() != 0) { if (bc26_open_err_code() != 0) {
printf("bc26_open_err_code FAILED\n"); printf("bc26 open err code FAILED\n");
return -1; return -1;
} }
if (bc26_check_sim() != 0) { if (bc26_check_sim() != 0) {
printf("bc26_open_err_code FAILED\n"); printf("bc26 check sim FAILED\n");
return -1; return -1;
} }
if (bc26_get_net() != 0) { if (bc26_get_net() != 0) {
printf("bc26_open_err_code FAILED\n"); printf("bc26 get net FAILED\n");
return -1; return -1;
} }