📄 sleep exit execs
字号:
wlan_interrupts_process ();
// Updates energy on final transition out of BACKOFF State
if (WAKE_UP_TRANSIT)
{
// energy calculation check
#ifndef OPD_NO_DEBUG
if ((op_sim_time() > wsn_test_time) && (my_address == wsn_test_address || my_address == wsn_test_address_2) )
printf("Node <%d> is exiting SLEEP and calculating E before WAKING\n", my_address);
#endif
Update_Energy();
// everybody go back to idle
state = WSN_IDLE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -