mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
Make the length of ft8 messages 38 characters in mainwindow.cpp.
This commit is contained in:
parent
a13cbdc4c5
commit
f6e7f9e5e8
@ -3487,8 +3487,8 @@ void MainWindow::guiUpdate()
|
|||||||
// if(m_config.bGenerate77()) m_isync=2;
|
// if(m_config.bGenerate77()) m_isync=2;
|
||||||
char ft8msgbits[75 + 12]; //packed 75 bit ft8 message plus 12-bit CRC
|
char ft8msgbits[75 + 12]; //packed 75 bit ft8 message plus 12-bit CRC
|
||||||
// TEMPORARY - for now, just copy 22-bit message to 37-bit messageft8
|
// TEMPORARY - for now, just copy 22-bit message to 37-bit messageft8
|
||||||
char messageft8[44]; //padded with 7 characters, like messsage.
|
char messageft8[38];
|
||||||
char msgsentft8[44];
|
char msgsentft8[38]; // Only need to send the first 37 chars to Fortran, right?
|
||||||
strncpy(&messageft8[0],&message[0],22);
|
strncpy(&messageft8[0],&message[0],22);
|
||||||
genft8_(messageft8, MyGrid, &bcontest, &m_i3, &m_n3, &m_isync, msgsentft8,
|
genft8_(messageft8, MyGrid, &bcontest, &m_i3, &m_n3, &m_isync, msgsentft8,
|
||||||
const_cast<char *> (ft8msgbits), const_cast<int *> (itone), 37, 6, 37);
|
const_cast<char *> (ft8msgbits), const_cast<int *> (itone), 37, 6, 37);
|
||||||
|
Loading…
Reference in New Issue
Block a user