diff --git a/CMakeLists.txt b/CMakeLists.txt index c7a28fdb4..222baaf84 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/contrib/LDPC/peg-128-80-reg3.gen b/contrib/LDPC/peg-128-80-reg3.gen new file mode 100644 index 000000000..30414fdb5 Binary files /dev/null and b/contrib/LDPC/peg-128-80-reg3.gen differ diff --git a/contrib/LDPC/peg-128-80-reg3.pchk b/contrib/LDPC/peg-128-80-reg3.pchk new file mode 100644 index 000000000..e257b2cfe Binary files /dev/null and b/contrib/LDPC/peg-128-80-reg3.pchk differ diff --git a/lib/genmsk144.f90 b/lib/genmsk144.f90 index 4a4e998c2..f5b4f8545 100644 --- a/lib/genmsk144.f90 +++ b/lib/genmsk144.f90 @@ -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) diff --git a/lib/syncmsk144.f90 b/lib/syncmsk144.f90 index 33b5d4b9a..1fe40b24f 100644 --- a/lib/syncmsk144.f90 +++ b/lib/syncmsk144.f90 @@ -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)