mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-13 11:18:42 -04:00
MSK144 fixes: Click on lower panel of Fast Graph decodes from previous file; clicking beyond available data does not crash program.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6964 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+4
-4
@@ -107,8 +107,8 @@ extern "C" {
|
||||
float* level, float* sigdb, float* snr, float* dfreq,
|
||||
float* width);
|
||||
|
||||
void fast_decode_(short id2[], int narg[], bool* bShMsgs, char msg[],
|
||||
char pchkFile[], char mycall[], char hiscall[],
|
||||
void fast_decode_(short id2[], int narg[], int* ntrperiod, bool* bShMsgs,
|
||||
char msg[], char pchkFile[], char mycall[], char hiscall[],
|
||||
int len1, int len2, int len3, int len4);
|
||||
void hash_calls_(char calls[], int* ih9, int len);
|
||||
void degrade_snr_(short d2[], int* n, float* db, float* bandwidth);
|
||||
@@ -2210,8 +2210,8 @@ void MainWindow::decode() //decode()
|
||||
narg[14]=m_config.aggressive();
|
||||
memcpy(d2b,dec_data.d2,2*360000);
|
||||
watcher3.setFuture (QtConcurrent::run (std::bind (fast_decode_,&d2b[0],
|
||||
&narg[0],&m_bShMsgs,&m_msg[0][0],&m_pchkFile[0],dec_data.params.mycall,
|
||||
dec_data.params.hiscall,80,512,12,12)));
|
||||
&narg[0],&m_TRperiod,&m_bShMsgs,&m_msg[0][0],&m_pchkFile[0],
|
||||
dec_data.params.mycall,dec_data.params.hiscall,80,512,12,12)));
|
||||
} else {
|
||||
memcpy(to, from, qMin(mem_jt9->size(), size));
|
||||
QFile {m_config.temp_dir ().absoluteFilePath (".lock")}.remove (); // Allow jt9 to start
|
||||
|
||||
Reference in New Issue
Block a user