mp Harmony 0.80 beta fix

This commit is contained in:
toddouska 2014-04-01 13:49:30 -07:00
parent c210600d93
commit e0534da461

View File

@ -2330,11 +2330,24 @@ ProtocolVersion MakeDTLSv1_2(void)
#elif defined(MICROCHIP_TCPIP)
#if defined(MICROCHIP_MPLAB_HARMONY)
#include <system/tmr/sys_tmr.h>
word32 LowResTimer(void)
{
return (word32) SYS_TMR_TickCountGet();
}
#else
word32 LowResTimer(void)
{
return (word32) SYS_TICK_Get();
}
#endif
#elif defined(FREESCALE_MQX)
word32 LowResTimer(void)