mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-05 07:32:25 -04:00
Functional with bare-bones sfox_tx executable.
This commit is contained in:
parent
5948c0d024
commit
2f600ae198
@ -77,7 +77,7 @@ subroutine sfox_assemble(ntype,k,msg,mycall0,mygrid0,line)
|
|||||||
line=trim(line)//' '//trim(hiscall(i))//' '//rpt2(i)
|
line=trim(line)//' '//trim(hiscall(i))//' '//rpt2(i)
|
||||||
enddo
|
enddo
|
||||||
do i=1,nmsg(2)
|
do i=1,nmsg(2)
|
||||||
line=trim(line)//' '//trim(hiscall(i))
|
line=trim(line)//' '//trim(hiscall(i+5))
|
||||||
enddo
|
enddo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
9
lib/superfox/sfox_tx.f90
Normal file
9
lib/superfox/sfox_tx.f90
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
program sfox_tx
|
||||||
|
|
||||||
|
character*120 line
|
||||||
|
|
||||||
|
call getarg(1,line)
|
||||||
|
write(*,1000) trim(line)
|
||||||
|
1000 format(a)
|
||||||
|
|
||||||
|
end program sfox_tx
|
@ -10304,7 +10304,7 @@ Transmit:
|
|||||||
QString foxCall=m_config.my_callsign() + " ";
|
QString foxCall=m_config.my_callsign() + " ";
|
||||||
::memcpy(foxcom_.mycall, foxCall.toLatin1(),sizeof foxcom_.mycall); //Copy Fox callsign into foxcom_
|
::memcpy(foxcom_.mycall, foxCall.toLatin1(),sizeof foxcom_.mycall); //Copy Fox callsign into foxcom_
|
||||||
bool bSuperFox=m_config.superFox();
|
bool bSuperFox=m_config.superFox();
|
||||||
qDebug() << "bb" << foxcom_.nslots << foxcom_.mycall << foxcom_.cmsg[0];
|
// qDebug() << "bb" << foxcom_.nslots << foxcom_.mycall << foxcom_.cmsg[0];
|
||||||
char cmnd[120];
|
char cmnd[120];
|
||||||
foxgen_(&bSuperFox, cmnd, 120);
|
foxgen_(&bSuperFox, cmnd, 120);
|
||||||
if(bSuperFox) {
|
if(bSuperFox) {
|
||||||
@ -10892,5 +10892,7 @@ void MainWindow::sfox_tx(QString t)
|
|||||||
p2.start("sfox_tx", QStringList {t});
|
p2.start("sfox_tx", QStringList {t});
|
||||||
p2.waitForFinished();
|
p2.waitForFinished();
|
||||||
QString t2=p2.readAllStandardOutput();
|
QString t2=p2.readAllStandardOutput();
|
||||||
|
t2=t2.left(t2.length()-2);
|
||||||
// qDebug() << "aa" << QDateTime::currentMSecsSinceEpoch() - ms0 << t2;
|
// qDebug() << "aa" << QDateTime::currentMSecsSinceEpoch() - ms0 << t2;
|
||||||
|
qDebug() << "aa" << t2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user