support webnet and add netdev for XiUOS(amend information about version and change name of function for POSIX standard)
This commit is contained in:
parent
2c233ed1b7
commit
3e4254b3b2
|
@ -240,7 +240,7 @@ void PrivTaskexitCritical()
|
|||
|
||||
/*********************tick**********************/
|
||||
#ifdef APP_USING_WEBNET
|
||||
int GetTick(){
|
||||
int PriGetTick(){
|
||||
return rt_tick_get()/RT_TICK_PER_SECOND;
|
||||
}
|
||||
#endif
|
|
@ -224,7 +224,7 @@ void PrivTaskexitCritical();
|
|||
|
||||
/*********************tick**********************/
|
||||
#ifdef APP_USING_WEBNET
|
||||
int GetTick();
|
||||
int PriGetTick();
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -220,6 +220,6 @@ int PrivMqueueReceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_
|
|||
}
|
||||
|
||||
/*********************tick**********************/
|
||||
int GetTick(){
|
||||
int PriGetTick(){
|
||||
return CurrentTicksGain() / TICK_PER_SECOND;
|
||||
}
|
|
@ -268,7 +268,7 @@ int PrivMqueueReceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg
|
|||
|
||||
|
||||
/*********************tick**********************/
|
||||
int GetTick();
|
||||
int PriGetTick();
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
/**
|
||||
* @file inet.h
|
||||
* @brief using in webnet
|
||||
* @version 1.0
|
||||
* @version 2.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2022-09-15
|
||||
*/
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
/**
|
||||
* @file netdev.h
|
||||
* @brief Structure and function declarations of device and ipaddr
|
||||
* @version 1.0
|
||||
* @version 2.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2022-09-15
|
||||
*/
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
/**
|
||||
* @file netdev_ipaddr.h
|
||||
* @brief Structure and function declarations of device and ipaddr
|
||||
* @version 1.0
|
||||
* @version 2.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2022-09-15
|
||||
*/
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
/**
|
||||
* @file netdev.c
|
||||
* @brief functions of getting device address
|
||||
* @version 1.0
|
||||
* @version 2.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2022-09-15
|
||||
*/
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
/**
|
||||
* @file netdev_ipaddr.c
|
||||
* @brief functions of getting device address
|
||||
* @version 1.0
|
||||
* @version 2.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2022-09-15
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue