Define the length of short msk messages.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6879 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Steven Franke 2016-07-06 19:11:03 +00:00
parent 5b23e9afad
commit 9171ff5354
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ subroutine genmsk32(msg,msgsent,ichk,itone,itype)
character*22 msg,msgsent,hashmsg character*22 msg,msgsent,hashmsg
character*4 crpt,rpt(0:31) character*4 crpt,rpt(0:31)
logical first logical first
integer itone(32) integer itone(144)
integer ig24(0:4096-1) !Codewords for Golay (24,12) code integer ig24(0:4096-1) !Codewords for Golay (24,12) code
integer*1 codeword(24),bitseq(32) integer*1 codeword(24),bitseq(32)
integer*1 s8r(8) integer*1 s8r(8)

View File

@ -4897,6 +4897,7 @@ void MainWindow::transmit (double snr)
if(itone[35] < 0) nsym=35; if(itone[35] < 0) nsym=35;
} else { } else {
nsym=NUM_MSK144_SYMBOLS; nsym=NUM_MSK144_SYMBOLS;
if(itone[32] < 0) nsym=32;
} }
Q_EMIT sendMessage (nsym, double(m_nsps), f0, m_toneSpacing, Q_EMIT sendMessage (nsym, double(m_nsps), f0, m_toneSpacing,
m_soundOutput, m_config.audio_output_channel (), m_soundOutput, m_config.audio_output_channel (),