minimodem: do not transmit leader tone if no start bits

This commit is contained in:
Kamal Mostafa 2012-11-03 14:10:44 -07:00
parent c2fa2dae93
commit 1446844d32
1 changed files with 4 additions and 0 deletions

View File

@ -682,6 +682,10 @@ main( int argc, char*argv[] )
if ( bfsk_nstopbits < 0 )
bfsk_nstopbits = 1.0;
// do not transmit any leader tone if no start bits
if ( bfsk_nstartbits == 0 )
tx_leader_bits_len = 0;
if ( bfsk_inverted_freqs ) {
float t = bfsk_mark_f;
bfsk_mark_f = bfsk_space_f;