Skip to content
Permalink
Browse files

samples: mesh: single timer to handle all transitions

This commit upgrade the implementation to reduce complexity in
algorithm. Previously there was different timers for lightness
as well as temperature transitions. But at time only single
transition is remain activated & hence there is no need
of multiple timer for each entiity.

Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  • Loading branch information...
vikrant8051 authored and jhedberg committed May 9, 2019
1 parent 9cea26a commit 243044361bdfe5715454253eacc36059ef874ae5
@@ -110,8 +110,8 @@ static void light_default_status_init(void)

default_tt = gen_def_trans_time_srv_user_data.tt;

target_lightness = lightness;
target_temperature = temperature;
init_lightness_target_values();
init_temp_target_values();
}

void update_led_gpio(void)

0 comments on commit 2430443

Please sign in to comment.
You can’t perform that action at this time.