AnsweredAssumed Answered

_time_to_ticks returns 0

Question asked by Mike_d on Apr 27, 2016
Latest reply on Apr 28, 2016 by Daniel Chen

Not sure why the ticks.HW_TICKS is set to 0 in this code below.

 

bool result;

TIME_STRUCT time;

MQX_TICK_STRUCT ticks;

 

 

 

time.SECONDS = 0;

time.MILLISECONDS = 100;

result = _time_to_ticks(&time, &ticks);

Outcomes