diff --git a/js8call-gcc-10.patch b/js8call-gcc-10.patch index d872669..1ef213a 100644 --- a/js8call-gcc-10.patch +++ b/js8call-gcc-10.patch @@ -142,3 +142,29 @@ Index: js8call-2.1.1/lib/js8/ldpcsim174js8a.f90 ! For reference, the next 3 lines show how to check the CRC i1Msg8BitBytes(10)=checksum/256 i1Msg8BitBytes(11)=iand(checksum,transfer(255,0_2)) +Index: js8call-2.1.1/lib/js8/ldpcsim174js8b.f90 +=================================================================== +--- js8call-2.1.1.orig/lib/js8/ldpcsim174js8b.f90 ++++ js8call-2.1.1/lib/js8/ldpcsim174js8b.f90 +@@ -94,7 +94,7 @@ allocate ( rxdata(N), llr(N) ) + + i1Msg8BitBytes(10:11)=0 + checksum = crc12 (c_loc (i1Msg8BitBytes), 11) +- checksum = xor(checksum, 42) ! TODO: jsherer - could change the crc here ++ checksum = xor(checksum, 42_2) ! TODO: jsherer - could change the crc here + ! For reference, the next 3 lines show how to check the CRC + i1Msg8BitBytes(10)=checksum/256 + i1Msg8BitBytes(11)=iand(checksum,transfer(255,0_2)) +Index: js8call-2.1.1/lib/js8/ldpcsim174js8c.f90 +=================================================================== +--- js8call-2.1.1.orig/lib/js8/ldpcsim174js8c.f90 ++++ js8call-2.1.1/lib/js8/ldpcsim174js8c.f90 +@@ -94,7 +94,7 @@ allocate ( rxdata(N), llr(N) ) + + i1Msg8BitBytes(10:11)=0 + checksum = crc12 (c_loc (i1Msg8BitBytes), 11) +- checksum = xor(checksum, 42) ! TODO: jsherer - could change the crc here ++ checksum = xor(checksum, 42_2) ! TODO: jsherer - could change the crc here + ! For reference, the next 3 lines show how to check the CRC + i1Msg8BitBytes(10)=checksum/256 + i1Msg8BitBytes(11)=iand(checksum,transfer(255,0_2))