patches from Steve - thanks
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 29 Nov 2016 20:39:56 +0000 (20:39 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 29 Nov 2016 20:39:56 +0000 (20:39 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2911 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/octave/test_ldpc_fsk_lib.m
codec2-dev/src/CMakeLists.txt

index 8221337128986cabb01ec1d6ed00e8bc6f71e0ef..4a6148a4d9f442ccb531b5a90c1f5d37d214690c 100644 (file)
@@ -190,7 +190,7 @@ function test_c_decoder
 \r
   if sdinput\r
     f = fopen("sd.bin","wb"); fwrite(f, r, "double"); fclose(f);\r
-    system("../src/ldpc_dec sd.bin data_out.bin --sdinput"); \r
+    system("../src/ldpc_dec sd.bin data_out.bin --sd"); \r
   else\r
     f = fopen("llr.bin","wb"); fwrite(f, llr, "double"); fclose(f);\r
     system("../src/ldpc_dec llr.bin data_out.bin"); \r
index 91a3d27b69f77e74b0e04d003ca69884e25b7649..658a8dbf3dc0b5508f376f5699a34963933bd8d6 100644 (file)
@@ -281,8 +281,15 @@ target_link_libraries(cohpsk_put_test_bits ${CMAKE_REQUIRED_LIBRARIES} codec2)
 add_executable(cohpsk_ch cohpsk_ch.c)
 target_link_libraries(cohpsk_ch ${CMAKE_REQUIRED_LIBRARIES} codec2)
 
+add_executable(ldpc_enc ldpc_enc.c)
+target_link_libraries(ldpc_enc ${CMAKE_REQUIRED_LIBRARIES})
+
+add_executable(ldpc_dec ldpc_dec.c mpdecode_core.c)
+target_link_libraries(ldpc_dec ${CMAKE_REQUIRED_LIBRARIES})
+
 add_executable(drs232 drs232.c)
 target_link_libraries(drs232 ${CMAKE_REQUIRED_LIBRARIES})
+
 add_executable(drs232_ldpc drs232_ldpc.c mpdecode_core.c)
 target_link_libraries(drs232_ldpc ${CMAKE_REQUIRED_LIBRARIES})