generic radio out
FossilOrigin-Name: fb1cafa8c4a7d5a3f6ac942c6e196aca619d3ee21db5c249e2ec2c15b0b777cb
This commit is contained in:
parent
e9ab5f691b
commit
3b52279b4f
22
src/cw/cw_out_radio_generic.c
Normal file
22
src/cw/cw_out_radio_generic.c
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
|
||||
#include "action.h"
|
||||
#include "cw.h"
|
||||
|
||||
|
||||
int cw_out_radio_generic(struct conn *conn, struct cw_action_out *a, uint8_t * dst)
|
||||
{
|
||||
int l=0;
|
||||
MAVLITER_DEFINE(it,conn->radios_upd);
|
||||
mavliter_foreach(&it){
|
||||
struct mbag_item *i = mavliter_get(&it);
|
||||
if ( i->type != MBAG_MBAG ) {
|
||||
continue;
|
||||
}
|
||||
cw_out_generic(conn,a,dst);
|
||||
|
||||
}
|
||||
return l;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user