edited to support new cohpsk_mod API
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 4 Apr 2017 19:42:00 +0000 (19:42 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 4 Apr 2017 19:42:00 +0000 (19:42 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@3091 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/unittest/test_cohpsk_ch.c

index a3949729c043c87183fca4151d0d8303c748134b..d5fec7202f1f6158a2e6880c372ab202ac997c15 100644 (file)
@@ -171,7 +171,7 @@ int main(int argc, char *argv[])
        \*---------------------------------------------------------*/
 
         cohpsk_get_test_bits(coh, tx_bits);
-       cohpsk_mod(coh, tx_fdm, tx_bits);
+       cohpsk_mod(coh, tx_fdm, tx_bits, COHPSK_BITS_PER_FRAME);
         cohpsk_clip(tx_fdm);
 
         for(r=0; r<COHPSK_NOM_SAMPLES_PER_FRAME; r++) {