浏览代码

rename ours stnp to stnp_api

TelenkovDmitry 7 年之前
父节点
当前提交
965b7d3f51
共有 5 个文件被更改,包括 7 次插入7 次删除
  1. 1 1
      modules/Ethernet/sntp_api.c
  2. 3 3
      modules/Ethernet/sntp_api.h
  3. 1 1
      modules/HTTP_Server/http_server.c
  4. 1 1
      projects/iar/bt-670x.ewp
  5. 1 1
      user/init_task.c

+ 1 - 1
modules/Ethernet/sntp.c → modules/Ethernet/sntp_api.c

@@ -1,4 +1,4 @@
-#include "sntp.h"
+#include "sntp_api.h"
 #include "rtc.h"
 #include "settings_api.h"
 

+ 3 - 3
modules/Ethernet/sntp.h → modules/Ethernet/sntp_api.h

@@ -1,5 +1,5 @@
-#ifndef __SNTP_H__
-#define __SNTP_H__
+#ifndef __SNTP_API_H__
+#define __SNTP_API_H__
 /*
 #include "lwip/udp.h"
 #include "lwip/def.h"
@@ -53,4 +53,4 @@ void sntp_stop(void);
 #endif
 */
 
-#endif /* __SNTP_H__ */
+#endif /* __SNTP_API_H__ */

+ 1 - 1
modules/HTTP_Server/http_server.c

@@ -19,7 +19,7 @@
 #include "log.h"
 #include "hal.h"
 #include "radius_user.h"
-#include "sntp.h"
+#include "sntp_api.h"
 
 #ifdef PRINTF_STDLIB
 #include <stdio.h>

+ 1 - 1
projects/iar/bt-670x.ewp

@@ -2000,7 +2000,7 @@
         <name>$PROJ_DIR$\..\..\modules\Ethernet\snmp_api.c</name>
       </file>
       <file>
-        <name>$PROJ_DIR$\..\..\modules\Ethernet\sntp.c</name>
+        <name>$PROJ_DIR$\..\..\modules\Ethernet\sntp_api.c</name>
       </file>
       <file>
         <name>$PROJ_DIR$\..\..\modules\Ethernet\trap_api.c</name>

+ 1 - 1
user/init_task.c

@@ -25,7 +25,7 @@
 #include "udp_netsetting.h"
 #include "snmp_api.h"
 #include "http_server.h"
-#include "sntp.h"
+#include "sntp_api.h"
 #include "settings_api.h"
 #include "main.h"
 #include "trap_api.h"