Commit c60ccdf7 authored by chen.weican's avatar chen.weican

【修改内容】修改子设备删除后导致其他子设备都无法操作的BUG

【提交人】陈伟灿
parent 8c3bbd07
......@@ -209,7 +209,7 @@ void kk_device_table_delete(EmberEUI64 mac)
if(MEMCOMPARE(ptr->mac,mac,sizeof(EmberEUI64))==0){
if(ptr->next==NULL){
free(ptr);
kk_zb_device_table = NULL;
ptr_temp->next = NULL;
emberAfCorePrintln("[KK device table]delete,now is empty !!!");
return ;
}else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment