altos: Replace ao_alarm/ao_clear_alarm with ao_sleep_for
[fw/altos] / src / drivers / ao_packet_slave.c
index e75df0d619fb92509d0a76011757cb7e8b2d75b4..0872682fa1c307b237a7f6b82b39422f942270d7 100644 (file)
@@ -24,7 +24,7 @@ ao_packet_slave(void)
        ao_tx_packet.len = AO_PACKET_SYN;
        ao_packet_restart = 1;
        while (ao_packet_enable) {
-               if (ao_packet_recv()) {
+               if (ao_packet_recv(0)) {
                        ao_xmemcpy(&ao_tx_packet.callsign, &ao_rx_packet.packet.callsign, AO_MAX_CALLSIGN);
 #if HAS_FLIGHT
                        ao_flight_force_idle = TRUE;