Searched refs:last_onoff (Results 1 – 3 of 3) sorted by relevance
60 light_powerup[0].last_onoff = 0; in genie_sal_ota_is_allow_reboot()121 light_elem_stat[index].powerup.last_onoff = GEN_ONOFF_DEFAULT; in light_elem_state_init()136 light_elem_stat[index].state.onoff[TYPE_TARGET] = light_elem_stat[index].powerup.last_onoff; in light_elem_state_init()228 p_elem->powerup.last_onoff = p_elem->state.onoff[TYPE_PRESENT]; in light_save_state()229 light_powerup[p_elem->element_id].last_onoff = p_elem->state.onoff[TYPE_PRESENT]; in light_save_state()240 LIGHT_DBG("save %d %d %d", light_powerup[0].last_onoff, light_powerup[0].last_lightness, in light_save_state()247 if (light_powerup[0].last_onoff == 0 && genie_ota_is_ready() == 1) { in light_save_state()257 static uint8_t last_onoff = 0; in light_update() local265 if (last_onoff != onoff || last_lightness != lightness || last_temperature != temperature) { in light_update()266 last_onoff = onoff; in light_update()
49 u8_t last_onoff; member
220 uint8_t last_onoff; member
Completed in 7 milliseconds