赋码检测返回小板的错误码
This commit is contained in:
@@ -69,7 +69,7 @@ static void code_dolater(handle_def *h,uint8_t src,uint8_t cmd,array_def *data,c
|
||||
}
|
||||
else{
|
||||
DBG_LOG("slave:%d, code failed.%s",port_get_addr(h->p),str_temp(arr_string(data)));
|
||||
emit port_end_signal(h->p,h->p,0,-1,"code failed");
|
||||
emit port_end_signal(h->p,h->p,0,arr_get(data,0),"code failed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user