diff --git a/BF_companion b/BF_companion index 0b989d0..e121159 100755 Binary files a/BF_companion and b/BF_companion differ diff --git a/main.c b/main.c index 02d12b3..1677383 100644 --- a/main.c +++ b/main.c @@ -1121,8 +1121,8 @@ int main(int argc, char** argv) { uint32_t recv_Err_code = 0; - printf("\nStart transparent mode\n"); - BF_exec_cmd_simple(hnd, 0x8007, 10, 1); //start transparent + //printf("\nStart transparent mode\n"); + //BF_exec_cmd_simple(hnd, 0x8007, 10, 1); //start transparent printf("\nFlushed from receiving buff: %d\n", X502_FlushRcv_buff(hnd)); @@ -1168,8 +1168,8 @@ int main(int argc, char** argv) { // X502_StreamsStop(hnd); // X502_StreamsStart(hnd); //BF_exec_cmd_simple(hnd, 0x8008, 2, 1); //start averaging - BF_exec_cmd_simple(hnd, 0x8007, 2, 1); //start transparent - //BF_exec_cmd_simple(hnd, 0x800B, 2, 1); //start HDMA flood for speedtest + //BF_exec_cmd_simple(hnd, 0x8007, 2, 1); //start transparent + BF_exec_cmd_simple(hnd, 0x800B, 2, 1); //start HDMA flood for speedtest printf("\nFlushed from receiving buff: %d\n", X502_FlushRcv_buff(hnd)); @@ -1193,7 +1193,8 @@ int main(int argc, char** argv) { struct timespec time_receive_started, time_receive_ended; clock_gettime(CLOCK_MONOTONIC, &time_receive_started); - receive_data(hnd, logfilename, inp_buff, data_receive_trys_counter, max_total_words, FLUSH); +// receive_data(hnd, logfilename, inp_buff, data_receive_trys_counter, max_total_words, FLUSH); + receive_data(hnd, logfilename, inp_buff, data_receive_trys_counter, max_total_words, DUMP_TO_FILE); clock_gettime(CLOCK_MONOTONIC, &time_receive_ended);