ao_tx_packet.len = ao_packet_tx_used;
ao_tx_packet.seq++;
ao_packet_tx_used = 0;
ao_wakeup(&tx_data);
}
ao_radio_send(&ao_tx_packet, sizeof (ao_tx_packet));
ao_tx_packet.len = ao_packet_tx_used;
ao_tx_packet.seq++;
ao_packet_tx_used = 0;
ao_wakeup(&tx_data);
}
ao_radio_send(&ao_tx_packet, sizeof (ao_tx_packet));