Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dtransition.c23 int32_t duration_remainder; in calculate_rt() local
35 duration_remainder = transition->total_duration - in calculate_rt()
38 if (duration_remainder > 620000) { in calculate_rt()
41 steps = duration_remainder / 600000; in calculate_rt()
42 } else if (duration_remainder > 62000) { in calculate_rt()
45 steps = duration_remainder / 10000; in calculate_rt()
46 } else if (duration_remainder > 6200) { in calculate_rt()
49 steps = duration_remainder / 1000; in calculate_rt()
50 } else if (duration_remainder > 0) { in calculate_rt()
53 steps = duration_remainder / 100; in calculate_rt()