diff options
| author | drowe67 <[email protected]> | 2023-07-14 17:07:32 +0930 |
|---|---|---|
| committer | David Rowe <[email protected]> | 2023-07-14 17:07:32 +0930 |
| commit | 83981a52bfac45ad7d725f5976a662a144f82917 (patch) | |
| tree | 2bae8069c9f364ad8a0b74694b534987a68658db | |
| parent | 597e9eb965b6b79279d045a43fde60e031d2e716 (diff) | |
few teaks to hopefull help ctests on MacOS
| -rw-r--r-- | octave/ofdm_ldpc_tx.m | 2 | ||||
| -rw-r--r-- | src/comp_prim.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/octave/ofdm_ldpc_tx.m b/octave/ofdm_ldpc_tx.m index 031c20d..1cdcef5 100644 --- a/octave/ofdm_ldpc_tx.m +++ b/octave/ofdm_ldpc_tx.m @@ -80,7 +80,7 @@ function ofdm_ldpc_tx(filename, mode="700D", N, SNR3kdB=100, channel='awgn', var payload_bits(end-15:end) = unpacked_crc16; end end - [packet_bits bits_per_packet] = fec_encode(states, code_param, mode, payload_bits, Ncodecframespermodemframe, Nbitspercodecframe); + [packet_bits bits_per_packet] = fec_encode(states, code_param, mode, payload_bits); % modulate to create symbols and interleave tx_symbols = []; diff --git a/src/comp_prim.h b/src/comp_prim.h index 4a61feb..e0166d3 100644 --- a/src/comp_prim.h +++ b/src/comp_prim.h @@ -28,6 +28,8 @@ #ifndef __COMP_PRIM__ #define __COMP_PRIM__ +#include <math.h> + /*---------------------------------------------------------------------------*\ FUNCTIONS |
