diff options
| author | Keith Packard <keithp@keithp.com> | 2019-09-15 17:09:26 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2019-09-15 17:09:26 -0700 |
| commit | 99525a748e00406424b98a0952f0156437b30b6c (patch) | |
| tree | c71afba2173632314441f89325594774d6123d70 /src/product | |
| parent | 46d3cbadce6808b4cd29ad1e034efac7b5e4fa42 (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/product')
| -rw-r--r-- | src/product/ao_terraui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/product/ao_terraui.c b/src/product/ao_terraui.c index 3a989f5a..102abb91 100644 --- a/src/product/ao_terraui.c +++ b/src/product/ao_terraui.c @@ -598,7 +598,7 @@ ao_terramonitor(void) case AO_TELEMETRY_SENSOR_TELEMETRUM: case AO_TELEMETRY_SENSOR_TELEMINI: case AO_TELEMETRY_SENSOR_TELENANO: - ao_xmemcpy(&ao_tel_sensor, &ao_monitor_ring[monitor], sizeof (ao_tel_sensor)); + memcpy(&ao_tel_sensor, &ao_monitor_ring[monitor], sizeof (ao_tel_sensor)); if (ao_tel_sensor.state < ao_flight_boost) { ao_tel_max_speed = 0; ao_tel_max_height = 0; @@ -611,10 +611,10 @@ ao_terramonitor(void) ao_telem_progress = (ao_telem_progress + 1) & 0x3; break; case AO_TELEMETRY_LOCATION: - ao_xmemcpy(&ao_tel_location, &ao_monitor_ring[monitor], sizeof (ao_tel_location)); + memcpy(&ao_tel_location, &ao_monitor_ring[monitor], sizeof (ao_tel_location)); break; case AO_TELEMETRY_CONFIGURATION: - ao_xmemcpy(&ao_tel_config, &ao_monitor_ring[monitor], sizeof (ao_tel_config)); + memcpy(&ao_tel_config, &ao_monitor_ring[monitor], sizeof (ao_tel_config)); } } } |
