Some debugs
FossilOrigin-Name: 9085b9cf6a0e60b2664b8e69109904fea47157c2c77e238acead281b0e4e256c
This commit is contained in:
parent
b09d35de50
commit
2d01095d72
@ -5,8 +5,10 @@
|
|||||||
|
|
||||||
int cisco_out_radio_operational_state(struct conn *conn, struct cw_action_out *a, uint8_t * dst)
|
int cisco_out_radio_operational_state(struct conn *conn, struct cw_action_out *a, uint8_t * dst)
|
||||||
{
|
{
|
||||||
|
cw_dbg(DBG_X,"haaaaaalllooo");
|
||||||
cw_dbg(DBG_X,"Try send oper state");
|
cw_dbg(DBG_X,"Try send oper state");
|
||||||
|
|
||||||
|
//exit(0);
|
||||||
|
|
||||||
int l=0;
|
int l=0;
|
||||||
MAVLITER_DEFINE(it,conn->radios_upd);
|
MAVLITER_DEFINE(it,conn->radios_upd);
|
||||||
@ -28,9 +30,12 @@ int cisco_out_radio_operational_state(struct conn *conn, struct cw_action_out *a
|
|||||||
|
|
||||||
cw_dbg(DBG_X,"Translated oper state for output from %d to %d",oper_state, oper_state_t);
|
cw_dbg(DBG_X,"Translated oper state for output from %d to %d",oper_state, oper_state_t);
|
||||||
|
|
||||||
|
l+=cw_put_elem_radio_operational_state(dst+l,255,oper_state_t, oper_cause);
|
||||||
l+=cw_put_elem_radio_operational_state(dst+l,i->iid,oper_state_t, oper_cause);
|
l+=cw_put_elem_radio_operational_state(dst+l,i->iid,oper_state_t, oper_cause);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// cw_dbg_elem_(conn,1,1,dst+l,l);
|
cw_dbg_elem(DBG_ELEM,conn,1,1,dst+l,l);
|
||||||
|
|
||||||
}
|
}
|
||||||
return l;
|
return l;
|
||||||
|
Loading…
Reference in New Issue
Block a user