summaryrefslogtreecommitdiff
path: root/src/drivers/ao_packet_slave.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-09-15 17:09:26 -0700
committerKeith Packard <keithp@keithp.com>2019-09-15 17:09:26 -0700
commit99525a748e00406424b98a0952f0156437b30b6c (patch)
treec71afba2173632314441f89325594774d6123d70 /src/drivers/ao_packet_slave.c
parent46d3cbadce6808b4cd29ad1e034efac7b5e4fa42 (diff)
altos: Replace ao_xmem functions with direct mem calls
We no longer need to wrap these functions Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_packet_slave.c')
-rw-r--r--src/drivers/ao_packet_slave.c2
1 files changed, 1 insertions, 1 deletions
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