X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_packet_slave.c;h=314ce14a2bc3866406e54c9306eefc842ec307b0;hb=54e98a498db0d7026ce16c3ad53bc60986c68253;hp=a5834799d7e8df306a907f3e793d14cb1df9f3cf;hpb=c11427819ca24bb77523496309b5b6f699d126c5;p=fw%2Faltos diff --git a/src/drivers/ao_packet_slave.c b/src/drivers/ao_packet_slave.c index a5834799..314ce14a 100644 --- a/src/drivers/ao_packet_slave.c +++ b/src/drivers/ao_packet_slave.c @@ -26,7 +26,7 @@ ao_packet_slave(void) ao_packet_restart = 1; while (ao_packet_enable) { if (ao_packet_recv(0)) { - ao_xmemcpy(&ao_tx_packet.callsign, &ao_rx_packet.packet.callsign, AO_MAX_CALLSIGN); + memcpy(&ao_tx_packet.callsign, &ao_rx_packet.packet.callsign, AO_MAX_CALLSIGN); #if HAS_FLIGHT ao_flight_force_idle = true; #endif