For now (and maybe longer?), install the LDPC code-definition files in the .../bin/data directory.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6739 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2016-06-07 14:54:53 +00:00
parent 478f6270ee
commit dae04d7a39
5 changed files with 6 additions and 4 deletions

View File

@ -1203,6 +1203,8 @@ install (FILES
install (FILES
contrib/Ephemeris/JPLEPH
contrib/LDPC/peg-128-80-reg3.gen
contrib/LDPC/peg-128-80-reg3.pchk
DESTINATION ${WSJT_SHARE_DESTINATION}/${WSJT_DATA_DESTINATION}
#COMPONENT runtime
)

Binary file not shown.

Binary file not shown.

View File

@ -56,8 +56,8 @@ subroutine genmsk144(msg0,ichk,msgsent,i4tone,itype)
!! Fix this
! pchk_file="/Users/sfranke/Builds/wsjtx_install/peg-128-80-reg3.pchk"
! gen_file="/Users/sfranke/Builds/wsjtx_install/peg-128-80-reg3.gen"
pchk_file="peg-128-80-reg3.pchk"
gen_file="peg-128-80-reg3.gen"
pchk_file="./data/peg-128-80-reg3.pchk"
gen_file="./data/peg-128-80-reg3.gen"
call init_ldpc(trim(pchk_file)//char(0),trim(gen_file)//char(0))
pi=4.*atan(1.0)
twopi=8.*atan(1.0)

View File

@ -44,8 +44,8 @@ subroutine syncmsk144(cdat,npts,msgreceived,fest)
if(first) then
! These files can be found in /lib/ldpc/jtmode_codes directory
pchk_file="peg-128-80-reg3.pchk"
gen_file="peg-128-80-reg3.gen"
pchk_file="./data/peg-128-80-reg3.pchk"
gen_file="./data/peg-128-80-reg3.gen"
call init_ldpc(trim(pchk_file)//char(0),trim(gen_file)//char(0))
! define half-sine pulse and raised-cosine edge window
pi=4d0*datan(1d0)