添加错误代码
This commit is contained in:
@@ -116,6 +116,9 @@ void tran_recv_slot(tran_def *t,const char *codec_name,uint8_t cmd,array_def *da
|
||||
DBG_LOG("tran init");
|
||||
if(tran_get_busy(tr)){
|
||||
DBG_WARN("ucport is busy.");
|
||||
array_def *d=arr_creat();
|
||||
arr_append(d,TRAN_ERR_BUSY);
|
||||
emit tran_send_signal(tr,cmd,arr_temp(d));
|
||||
return;
|
||||
}
|
||||
CHECK_DO(tr->u,tr->u->del);
|
||||
|
Reference in New Issue
Block a user