mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Clean up behavior for Fox with compound callsign.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8363 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
cc95d8ea98
commit
f492a2560d
@ -949,7 +949,7 @@ if (Fortran_COMPILER_NAME MATCHES "gfortran.*")
|
||||
set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -isysroot ${CMAKE_OSX_SYSROOT}")
|
||||
endif (CMAKE_OSX_SYSROOT)
|
||||
|
||||
set (CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -funroll-all-loops -fno-f2c ${General_FFLAGS}")
|
||||
set (CMAKE_Fortran_FLAGS_RELEASE "${CMAKE_Fortran_FLAGS_RELEASE} -fbounds-check -funroll-all-loops -fno-f2c ${General_FFLAGS}")
|
||||
set (CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG} -fbounds-check -fno-f2c ${General_FFLAGS}")
|
||||
elseif (Fortran_COMPILER_NAME MATCHES "ifort.*")
|
||||
# ifort (untested)
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Version number components
|
||||
set (WSJTX_VERSION_MAJOR 1)
|
||||
set (WSJTX_VERSION_MINOR 7)
|
||||
set (WSJTX_VERSION_PATCH 1)
|
||||
set (WSJTX_VERSION_MINOR 8)
|
||||
set (WSJTX_VERSION_PATCH 2)
|
||||
set (WSJTX_RC 0) # release candidate number, comment out or zero for development versions
|
||||
set (WSJTX_VERSION_IS_RELEASE 0) # set to 1 for final release build
|
||||
|
@ -92,7 +92,8 @@ program ft8sim
|
||||
c0=0.
|
||||
if(nsig.eq.2) then
|
||||
if(index(msg,'R-').gt.0) f0=500
|
||||
msg(9:9)=char(ichar('W')+isig)
|
||||
i1=index(msg,' ')
|
||||
msg(i1+4:i1+4)=char(ichar('A')+isig-1)
|
||||
if(isig.eq.2) then
|
||||
f0=f0+100
|
||||
endif
|
||||
|
@ -902,7 +902,8 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
||||
|
||||
if(m_config.my_callsign()=="K1JT" or m_config.my_callsign()=="K9AN" or
|
||||
m_config.my_callsign()=="G4WJS" || m_config.my_callsign () == "W9XYZ" or
|
||||
m_config.my_callsign()=="K1ABC") {
|
||||
m_config.my_callsign()=="K1ABC" or m_config.my_callsign()=="K1ABC/2" or
|
||||
m_config.my_callsign()=="KH1/KH7Z") {
|
||||
ui->actionWSPR_LF->setEnabled(true);
|
||||
} else {
|
||||
QString errorMsg;
|
||||
@ -2853,12 +2854,16 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
ui->cbVHFcontest->isChecked(), m_config.my_grid ()};
|
||||
|
||||
if(m_mode=="FT8" and m_config.bFox() and
|
||||
decodedtext.string().contains(" " + m_config.my_callsign() + " ") and
|
||||
(decodedtext.string().contains("R+") or decodedtext.string().contains("R-"))) {
|
||||
auto for_us = decodedtext.string().contains(" " + m_config.my_callsign() + " ") or
|
||||
decodedtext.string().contains(" "+m_baseCall) or
|
||||
decodedtext.string().contains(m_baseCall+" ");
|
||||
if(for_us) {
|
||||
QString houndCall,houndGrid;
|
||||
decodedtext.deCallAndGrid(/*out*/houndCall,houndGrid);
|
||||
foxRxSequencer(decodedtext.string(),houndCall,houndGrid);
|
||||
}
|
||||
}
|
||||
|
||||
//Left (Band activity) window
|
||||
if(!bAvgMsg) {
|
||||
@ -7189,7 +7194,7 @@ QString MainWindow::sortHoundCalls(QString t, int isort, int max_dB)
|
||||
nlines=lines.length()-1;
|
||||
for(i=0; i<nlines; i++) {
|
||||
msg=lines.at(i); //key = callsign
|
||||
if(msg.mid(13,1)==" ") msg=msg.mid(0,16) + "_" + msg.mid(17);
|
||||
if(msg.mid(13,1)==" ") msg=msg.mid(0,13) + "...." + msg.mid(17);
|
||||
houndCall=msg.split(" ").at(0); //value = "call grid snr freq dist age"
|
||||
map[houndCall]=msg;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user