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);
Hi Michael:
I added your code into the hello world example in MQX 4.2, and tested it with K64frdm board, the returned value is 1(true). can you try it again?
Regards
Daniel