From b86e88413d4c6ec428aaedb147f7675f28882fe4 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Fri, 14 Jul 2023 12:36:50 +0930 Subject: clang-format -i applied to src unittest misc --- src/cohpsk_put_test_bits.c | 141 ++++++++++++++++++++++----------------------- 1 file changed, 70 insertions(+), 71 deletions(-) (limited to 'src/cohpsk_put_test_bits.c') diff --git a/src/cohpsk_put_test_bits.c b/src/cohpsk_put_test_bits.c index 69811a0..de41da2 100644 --- a/src/cohpsk_put_test_bits.c +++ b/src/cohpsk_put_test_bits.c @@ -10,7 +10,6 @@ \*---------------------------------------------------------------------------*/ - /* Copyright (C) 2015 David Rowe @@ -29,85 +28,85 @@ */ #include +#include +#include #include #include #include -#include -#include #include "codec2_cohpsk.h" #include "octave.h" #define LOG_FRAMES 100 -int main(int argc, char *argv[]) -{ - FILE *fin, *foct; - char rx_bits[COHPSK_BITS_PER_FRAME]; - int state, i, nbits, bit_errors, nerrors; - short error_pattern[COHPSK_BITS_PER_FRAME]; - int error_positions_hist[COHPSK_BITS_PER_FRAME], logframes; - int nerr_log[LOG_FRAMES]; - struct COHPSK *coh; - - for(i=0; i