aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps/dsp.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2018-01-21 09:30:00 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2018-02-15 08:00:14 +0100
commit0b129d3c7fc28ab47d54ec256138c6e50e019c44 (patch)
tree3c9d20ab08f8936bb59325ca4c53e2ea8542aa62 /src/amps/dsp.c
parentd3385b498d1f7de49393dc08b15712d88cf04943 (diff)
libdisplay: Removing dependency from libmobile
Diffstat (limited to 'src/amps/dsp.c')
-rw-r--r--src/amps/dsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amps/dsp.c b/src/amps/dsp.c
index 1847f8d..93f4eab 100644
--- a/src/amps/dsp.c
+++ b/src/amps/dsp.c
@@ -267,8 +267,8 @@ int dsp_init_sender(amps_t *amps, int tolerant)
/* be more tolerant when syncing */
amps->fsk_rx_sync_tolerant = tolerant;
- amps->dmp_frame_level = display_measurements_add(&amps->sender, "Frame Level", "%.1f %% (last)", DISPLAY_MEAS_LAST, DISPLAY_MEAS_LEFT, 0.0, 150.0, 100.0);
- amps->dmp_frame_quality = display_measurements_add(&amps->sender, "Frame Quality", "%.1f %% (last)", DISPLAY_MEAS_LAST, DISPLAY_MEAS_LEFT, 0.0, 100.0, 100.0);
+ amps->dmp_frame_level = display_measurements_add(&amps->sender.dispmeas, "Frame Level", "%.1f %% (last)", DISPLAY_MEAS_LAST, DISPLAY_MEAS_LEFT, 0.0, 150.0, 100.0);
+ amps->dmp_frame_quality = display_measurements_add(&amps->sender.dispmeas, "Frame Quality", "%.1f %% (last)", DISPLAY_MEAS_LAST, DISPLAY_MEAS_LEFT, 0.0, 100.0, 100.0);
return 0;