use Seconds APIs instead of MYTIME APIs for TI-RTOS

This commit is contained in:
Vikram Adiga
2015-04-01 16:21:48 -07:00
parent 50e829ea79
commit ad29c262d4
3 changed files with 3 additions and 3 deletions

View File

@@ -2349,7 +2349,7 @@ ProtocolVersion MakeDTLSv1_2(void)
word32 LowResTimer(void)
{
return (word32) MYTIME_gettime();
return (word32) Seconds_get();
}
#elif defined(USER_TICKS)

View File

@@ -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;

View File

@@ -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