XTIME in LowResTimer

This commit is contained in:
Takashi Kojo
2018-04-28 05:03:51 +09:00
parent e9dd44a667
commit 2cc2f224f8

View File

@ -5978,14 +5978,14 @@ ProtocolVersion MakeDTLSv1_2(void)
#else
/* Posix style time */
#ifndef USER_TIME
#include <time.h>
#endif
word32 LowResTimer(void)
{
return (word32)time(0);
return (word32)XTIME(0);
}
#endif