summaryrefslogtreecommitdiff
path: root/src/core/ao_telemetry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ao_telemetry.c')
-rw-r--r--src/core/ao_telemetry.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ao_telemetry.c b/src/core/ao_telemetry.c
index e66598d1..c68f1589 100644
--- a/src/core/ao_telemetry.c
+++ b/src/core/ao_telemetry.c
@@ -132,11 +132,11 @@ ao_send_configuration(void)
telemetry.configuration.main_deploy = ao_config.main_deploy;
telemetry.configuration.flight_log_max = ao_config.flight_log_max >> 10;
ao_xmemcpy (telemetry.configuration.callsign,
- ao_config.callsign,
- AO_MAX_CALLSIGN);
+ ao_config.callsign,
+ AO_MAX_CALLSIGN);
ao_xmemcpy (telemetry.configuration.version,
- ao_version,
- AO_MAX_VERSION);
+ CODE_TO_XDATA(ao_version),
+ AO_MAX_VERSION);
ao_radio_send(&telemetry, sizeof (telemetry));
ao_telemetry_config_cur = ao_telemetry_config_max;
}