Browse Source

Merge pull request #26 from HubertXie/master

解决LOG_X修改引起的编译错误
朱天龙 (Armink) 7 năm trước cách đây
mục cha
commit
0421779dd7
3 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      at_socket_ec20.c
  2. 1 1
      at_socket_esp8266.c
  3. 1 1
      at_socket_m26.c

+ 1 - 1
at_socket_ec20.c

@@ -1087,7 +1087,7 @@ static void ec20_init_thread_entry(void *parameter)
     /* show module version */
     for (i = 0; i < (int) resp->line_counts - 1; i++)
     {
-        LOG_D("%s", at_resp_get_line(resp, i + 1))
+        LOG_D("%s", at_resp_get_line(resp, i + 1));
     }
     /* Use AT+GSN to query the IMEI of module */
     AT_SEND_CMD(resp, 0, 300, "AT+GSN");

+ 1 - 1
at_socket_esp8266.c

@@ -565,7 +565,7 @@ static void esp8266_init_thread_entry(void *parameter)
     /* show module version */
     for (i = 0; i < resp->line_counts - 1; i++)
     {
-        LOG_D("%s", at_resp_get_line(resp, i + 1))
+        LOG_D("%s", at_resp_get_line(resp, i + 1));
     }
     /* connect to WiFi AP */
     if (at_exec_cmd(at_resp_set_info(resp, 128, 0, 20 * RT_TICK_PER_SECOND), "AT+CWJAP=\"%s\",\"%s\"",

+ 1 - 1
at_socket_m26.c

@@ -660,7 +660,7 @@ static void m26_init_thread_entry(void *parameter)
     /* show module version */
     for (i = 0; i < (int) resp->line_counts - 1; i++)
     {
-        LOG_D("%s", at_resp_get_line(resp, i + 1))
+        LOG_D("%s", at_resp_get_line(resp, i + 1));
     }
     /* check SIM card */
     for (i = 0; i < CPIN_RETRY; i++)