afarhan / sbitx

168 stars 58 forks source link

File modem_cw.c function cw_tx_get_sample() line 359. Incomprehensible code. #62

Closed g8kig closed 8 months ago

g8kig commented 11 months ago
        if (cw_tone.freq_hz != get_pitch())
            (&cw_tone, get_pitch(), 0);  <<< ???

Not sure what the intention of this comma expression is. The left hand and right hand operands have no effect.

afarhan commented 8 months ago

it was supposed to call vfo_start, thanks. fixed it