Fixed many typos in output and source code comments

This commit is contained in:
Martin Hauke
2019-07-15 21:14:52 +02:00
committed by Andreas Eversberg
parent c357ab5ad5
commit 75765d49b7
30 changed files with 49 additions and 49 deletions

View File

@@ -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)