rename sal.h as sal_low_lvl.h
This commit is contained in:
parent
0e5bb9d042
commit
2575a93516
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#ifdef RT_USING_SAL
|
#ifdef RT_USING_SAL
|
||||||
#include <sal_netdb.h>
|
#include <sal_netdb.h>
|
||||||
#include <sal.h>
|
#include <sal_low_lvl.h>
|
||||||
#endif /* RT_USING_SAL */
|
#endif /* RT_USING_SAL */
|
||||||
|
|
||||||
#define DBG_TAG "netdev"
|
#define DBG_TAG "netdev"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <sal.h>
|
#include <sal_low_lvl.h>
|
||||||
|
|
||||||
#include <at_socket.h>
|
#include <at_socket.h>
|
||||||
#include <af_inet.h>
|
#include <af_inet.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sal.h>
|
#include <sal_low_lvl.h>
|
||||||
#include <af_inet.h>
|
#include <af_inet.h>
|
||||||
|
|
||||||
#include <netdev.h>
|
#include <netdev.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include <sal_tls.h>
|
#include <sal_tls.h>
|
||||||
#endif
|
#endif
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <sal.h>
|
#include <sal_low_lvl.h>
|
||||||
|
|
||||||
#include <netdev.h>
|
#include <netdev.h>
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,12 @@
|
||||||
* Change Logs:
|
* Change Logs:
|
||||||
* Date Author Notes
|
* Date Author Notes
|
||||||
* 2018-05-17 ChenYong First version
|
* 2018-05-17 ChenYong First version
|
||||||
|
* 2022-05-15 Meco Man rename sal.h as sal_low_lvl.h to avoid conflicts
|
||||||
|
* with Microsoft Visual Studio header file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SAL_H__
|
#ifndef SAL_LOW_LEVEL_H__
|
||||||
#define SAL_H__
|
#define SAL_LOW_LEVEL_H__
|
||||||
|
|
||||||
#include <rtdevice.h>
|
#include <rtdevice.h>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#ifdef SAL_USING_TLS
|
#ifdef SAL_USING_TLS
|
||||||
#include <sal_tls.h>
|
#include <sal_tls.h>
|
||||||
#endif
|
#endif
|
||||||
#include <sal.h>
|
#include <sal_low_lvl.h>
|
||||||
#include <netdev.h>
|
#include <netdev.h>
|
||||||
|
|
||||||
#ifdef SAL_INTERNET_CHECK
|
#ifdef SAL_INTERNET_CHECK
|
||||||
|
|
|
@ -719,7 +719,7 @@ The following is the access registration process implemented by AT Socket networ
|
||||||
```c
|
```c
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <sal.h> /* SAL component structure holds the header file */
|
#include <sal_low_lvl.h> /* SAL component structure holds the header file */
|
||||||
#include <at_socket.h> /* AT Socket related header file */
|
#include <at_socket.h> /* AT Socket related header file */
|
||||||
#include <af_inet.h>
|
#include <af_inet.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue