forked from wolfSSL/wolfssl
use Seconds APIs instead of MYTIME APIs for TI-RTOS
This commit is contained in:
@@ -2349,7 +2349,7 @@ ProtocolVersion MakeDTLSv1_2(void)
|
||||
|
||||
word32 LowResTimer(void)
|
||||
{
|
||||
return (word32) MYTIME_gettime();
|
||||
return (word32) Seconds_get();
|
||||
}
|
||||
|
||||
#elif defined(USER_TICKS)
|
||||
|
@@ -363,7 +363,7 @@ time_t XTIME(time_t * timer)
|
||||
{
|
||||
time_t sec = 0;
|
||||
|
||||
sec = (time_t) MYTIME_gettime();
|
||||
sec = (time_t) Seconds_get();
|
||||
|
||||
if (timer != NULL)
|
||||
*timer = sec;
|
||||
|
@@ -340,7 +340,7 @@
|
||||
#pragma diag_suppress=11
|
||||
#endif
|
||||
|
||||
#include <ti/ndk/nettools/mytime/mytime.h>
|
||||
#include <ti/sysbios/hal/Seconds.h>
|
||||
#endif
|
||||
|
||||
#ifdef EBSNET
|
||||
|
Reference in New Issue
Block a user