Home
last modified time | relevance | path

Searched refs:duration_remainder (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dtransition.c21 int32_t duration_remainder; in calculate_rt() local
33 duration_remainder = transition->total_duration - in calculate_rt()
36 if (duration_remainder > 620000) { in calculate_rt()
39 steps = duration_remainder / 600000; in calculate_rt()
40 } else if (duration_remainder > 62000) { in calculate_rt()
43 steps = duration_remainder / 10000; in calculate_rt()
44 } else if (duration_remainder > 6200) { in calculate_rt()
47 steps = duration_remainder / 1000; in calculate_rt()
48 } else if (duration_remainder > 0) { in calculate_rt()
51 steps = duration_remainder / 100; in calculate_rt()