minimodem: set reasonable default mark/space for high baud rates
This commit is contained in:
parent
7686acc38e
commit
2efe4bac19
|
@ -414,9 +414,9 @@ main( int argc, char*argv[] )
|
|||
/*
|
||||
* Bell 202: baud=1200 mark=1200 space=2200
|
||||
*/
|
||||
autodetect_shift = -1000;
|
||||
autodetect_shift = - ( bfsk_data_rate * 5 / 6 );
|
||||
if ( bfsk_mark_f == 0 )
|
||||
bfsk_mark_f = 1200;
|
||||
bfsk_mark_f = bfsk_data_rate / 2 + 600;
|
||||
if ( bfsk_space_f == 0 )
|
||||
bfsk_space_f = bfsk_mark_f - autodetect_shift;
|
||||
if ( band_width == 0 )
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
exec ./self-test 12000 testcases/self-test-ascii.txt
|
Loading…
Reference in New Issue