fix segfault + upper limit for bits

This commit is contained in:
Bastian Bloessl
2015-04-14 16:18:46 +02:00
parent 00a6a9c662
commit f64f72af91
3 changed files with 34 additions and 31 deletions
+2 -1
View File
@@ -23,7 +23,8 @@
#include <cinttypes>
#include <iostream>
#define MAX_NUM_SYM 520 // this should be enough to transmit 1500B user payload with BPSK 1/2
const int MAX_SYM = 520; // enough for 1500 byte BPSK 1/2
const int MAX_BITS = 1530 * 8;
#define dout d_debug && std::cout