aboutsummaryrefslogtreecommitdiffstats
path: root/src/radio/radio.c
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2019-07-15 21:14:52 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2019-07-15 21:14:52 +0200
commit75765d49b735f3a998a5c0ee4b372b4d1da7576c (patch)
tree37c6044b327de55a343e9ae4da882cc2ee133a9e /src/radio/radio.c
parentc357ab5ad53aac6a469aef77c42332918670620a (diff)
Fixed many typos in output and source code comments
Diffstat (limited to 'src/radio/radio.c')
-rw-r--r--src/radio/radio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radio/radio.c b/src/radio/radio.c
index 4131ccc..ee85805 100644
--- a/src/radio/radio.c
+++ b/src/radio/radio.c
@@ -633,7 +633,7 @@ int radio_rx(radio_t *radio, float *baseband, int signal_num)
/* mix pilot tone (double phase) with differential signal */
for (i = 0; i < signal_num; i++) {
p = atan2(samples[2][i], samples[1][i]);
- /* substract measured phase difference (use double amplitude, because we filter later) */
+ /* subtract measured phase difference (use double amplitude, because we filter later) */
samples[1][i] = samples[0][i] * sin((radio->rx_pilot_phase - p) * 2.0) * 2.0;
radio->rx_pilot_phase += radio->pilot_phasestep;
if (radio->rx_pilot_phase >= 2.0 * M_PI)