Home
last modified time | relevance | path

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

/AliOS-Things-master/solutions/genie_mesh_demo/light_ctl/
A Dlight.c60 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() local
265 if (last_onoff != onoff || last_lightness != lightness || last_temperature != temperature) { in light_update()
266 last_onoff = onoff; in light_update()
/AliOS-Things-master/components/genie_service/core/inc/sig_models/
A Dsig_model.h49 u8_t last_onoff; member
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/nv_section/userdata_section/
A Dnvrecord_extension.h220 uint8_t last_onoff; member

Completed in 7 milliseconds