mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Fix message lengths in genmsk40. Also some tweaks to msk144sim.f90.
This commit is contained in:
parent
bb3d68a5d7
commit
e1c74fd828
@ -1,7 +1,7 @@
|
||||
subroutine genmsk40(msg,msgsent,ichk,itone,itype)
|
||||
|
||||
use hashing
|
||||
character*22 msg,msgsent,hashmsg
|
||||
character*37 msg,msgsent,hashmsg
|
||||
character*4 crpt,rpt(0:15)
|
||||
logical first
|
||||
integer*4 itone(144)
|
||||
|
@ -38,8 +38,13 @@ program msk144sim
|
||||
ichk=0
|
||||
itype=1
|
||||
call genmsk_128_90(msg,ichk,msgsent,itone,itype)
|
||||
write(*,*) 'Requested message: ',msg
|
||||
write(*,*) 'Message sent : ',msgsent
|
||||
write(*,*) 'Tones: '
|
||||
write(*,'(72i1)') itone(1:72)
|
||||
write(*,'(72i1)') itone(72:144)
|
||||
write(*,*) itype
|
||||
twopi=8.d0*atan(1.d0)
|
||||
|
||||
nsym=144
|
||||
nsps=6*nslow
|
||||
if( itone(41) .lt. 0 ) nsym=40
|
||||
@ -49,7 +54,7 @@ program msk144sim
|
||||
phi=0.0
|
||||
k=0
|
||||
nreps=NMAX/(nsym*nsps)
|
||||
print*,nsym,nslow,nsps,baud,freq
|
||||
|
||||
do jrep=1,nreps
|
||||
do i=1,nsym
|
||||
if( itone(i) .eq. 0 ) then
|
||||
|
Loading…
Reference in New Issue
Block a user